Class PersistentYAMLDataType
java.lang.Object
io.github.bakedlibs.dough.data.persistent.PersistentYAMLDataType
- All Implemented Interfaces:
PersistentDataType<String,FileConfiguration>
public final class PersistentYAMLDataType
extends Object
implements PersistentDataType<String,FileConfiguration>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.persistence.PersistentDataType
PersistentDataType.PrimitivePersistentDataType<T extends Object> -
Field Summary
FieldsFields inherited from interface org.bukkit.persistence.PersistentDataType
BYTE, BYTE_ARRAY, DOUBLE, FLOAT, INTEGER, INTEGER_ARRAY, LONG, LONG_ARRAY, SHORT, STRING, TAG_CONTAINER -
Method Summary
Modifier and TypeMethodDescriptionfromPrimitive(String primitive, PersistentDataAdapterContext context) toPrimitive(FileConfiguration complex, PersistentDataAdapterContext context)
-
Field Details
-
CONFIG
-
-
Method Details
-
getPrimitiveType
- Specified by:
getPrimitiveTypein interfacePersistentDataType<String,FileConfiguration>
-
getComplexType
- Specified by:
getComplexTypein interfacePersistentDataType<String,FileConfiguration>
-
toPrimitive
- Specified by:
toPrimitivein interfacePersistentDataType<String,FileConfiguration>
-
fromPrimitive
- Specified by:
fromPrimitivein interfacePersistentDataType<String,FileConfiguration>
-