public class SerializationFactory extends Object
ConfigurationSerializable
classes to BukkitConstructor and Description |
---|
SerializationFactory() |
Modifier and Type | Method and Description |
---|---|
static Class[] |
getNativeSerializables()
Returns the native
ConfigurationSerializable classes that are
provided by CodelanxLib |
static void |
registerClass(Class<? extends org.bukkit.configuration.serialization.ConfigurationSerializable> clazz)
Registers a single
ConfigurationSerializable class to Bukkit |
static void |
registerClasses(Class<? extends org.bukkit.configuration.serialization.ConfigurationSerializable>... clazz)
Registers multiple
ConfigurationSerializable class to Bukkit |
static void |
registerClasses(Iterable<? extends Class<? extends org.bukkit.configuration.serialization.ConfigurationSerializable>> clazz)
Registers multiple
ConfigurationSerializable class to Bukkit |
public static void registerClass(Class<? extends org.bukkit.configuration.serialization.ConfigurationSerializable> clazz)
ConfigurationSerializable
class to Bukkitclazz
- The class to registerpublic static void registerClasses(Class<? extends org.bukkit.configuration.serialization.ConfigurationSerializable>... clazz)
ConfigurationSerializable
class to Bukkitclazz
- The classes to registerpublic static void registerClasses(Iterable<? extends Class<? extends org.bukkit.configuration.serialization.ConfigurationSerializable>> clazz)
ConfigurationSerializable
class to Bukkitclazz
- The classes to registerpublic static Class[] getNativeSerializables()
ConfigurationSerializable
classes that are
provided by CodelanxLibCopyright © 2015. All rights reserved.