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 ConfigurationSerializable> clazz)
Registers a single
ConfigurationSerializable class to Bukkit |
static void |
registerClasses(Class<? extends ConfigurationSerializable>... clazz)
Registers multiple
ConfigurationSerializable class to Bukkit |
static void |
registerClasses(Iterable<? extends Class<? extends ConfigurationSerializable>> clazz)
Registers multiple
ConfigurationSerializable class to Bukkit |
public static void registerClass(Class<? extends ConfigurationSerializable> clazz)
ConfigurationSerializable
class to Bukkitclazz
- The class to registerpublic static void registerClasses(Class<? extends ConfigurationSerializable>... clazz)
ConfigurationSerializable
class to Bukkitclazz
- The classes to registerpublic static void registerClasses(Iterable<? extends Class<? extends ConfigurationSerializable>> clazz)
ConfigurationSerializable
class to Bukkitclazz
- The classes to registerpublic static Class[] getNativeSerializables()
ConfigurationSerializable
classes that are
provided by CodelanxLibCopyright © 2017. All rights reserved.