|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jnbt.NBTUtils
public final class NBTUtils
A class which contains NBT-related utility methods.
Method Summary | |
---|---|
static Class<? extends Tag> |
getTypeClass(int type)
Gets the class of a type of tag. |
static int |
getTypeCode(Class<? extends Tag> clazz)
Gets the type code of a tag class. |
static String |
getTypeName(Class<? extends Tag> clazz)
Gets the type name of a tag. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getTypeName(Class<? extends Tag> clazz)
clazz
- The tag class.
public static int getTypeCode(Class<? extends Tag> clazz)
clazz
- The tag class.
IllegalArgumentException
- if the tag class is invalid.public static Class<? extends Tag> getTypeClass(int type)
type
- The type.
IllegalArgumentException
- if the tag type is invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |