Package studio.magemonkey.codex.util
Class DataUT.StringArray
java.lang.Object
studio.magemonkey.codex.util.DataUT.StringArray
- All Implemented Interfaces:
org.bukkit.persistence.PersistentDataType<byte[],String[]>
- Enclosing class:
DataUT
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.persistence.PersistentDataType
org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType<T> -
Field Summary
Fields inherited from interface org.bukkit.persistence.PersistentDataType
BYTE, BYTE_ARRAY, DOUBLE, FLOAT, INTEGER, INTEGER_ARRAY, LONG, LONG_ARRAY, SHORT, STRING, TAG_CONTAINER, TAG_CONTAINER_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionString[]fromPrimitive(byte[] bytes, org.bukkit.persistence.PersistentDataAdapterContext itemTagAdapterContext) Class<byte[]> byte[]toPrimitive(String[] strings, org.bukkit.persistence.PersistentDataAdapterContext itemTagAdapterContext)
-
Method Details
-
getPrimitiveType
- Specified by:
getPrimitiveTypein interfaceorg.bukkit.persistence.PersistentDataType<byte[],String[]>
-
getComplexType
- Specified by:
getComplexTypein interfaceorg.bukkit.persistence.PersistentDataType<byte[],String[]>
-
toPrimitive
public byte[] toPrimitive(String[] strings, org.bukkit.persistence.PersistentDataAdapterContext itemTagAdapterContext) - Specified by:
toPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],String[]>
-
fromPrimitive
public String[] fromPrimitive(byte[] bytes, org.bukkit.persistence.PersistentDataAdapterContext itemTagAdapterContext) - Specified by:
fromPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],String[]>
-