public enum TagType extends Enum<TagType>
| Enum Constant and Description |
|---|
TAG_BYTE |
TAG_BYTE_ARRAY |
TAG_COMPOUND |
TAG_DOUBLE |
TAG_END |
TAG_FLOAT |
TAG_INT |
TAG_INT_ARRAY |
TAG_LIST |
TAG_LONG |
TAG_SHORT |
TAG_SHORT_ARRAY |
TAG_STRING |
| Modifier and Type | Method and Description |
|---|---|
static TagType |
getById(int id) |
static TagType |
getByTagClass(Class<? extends Tag<?>> clazz) |
static TagType |
getByTypeName(String typeName) |
int |
getId() |
Class<? extends Tag<?>> |
getTagClass() |
String |
getTypeName() |
static TagType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagType TAG_END
public static final TagType TAG_BYTE
public static final TagType TAG_SHORT
public static final TagType TAG_INT
public static final TagType TAG_LONG
public static final TagType TAG_FLOAT
public static final TagType TAG_DOUBLE
public static final TagType TAG_BYTE_ARRAY
public static final TagType TAG_STRING
public static final TagType TAG_LIST
public static final TagType TAG_COMPOUND
public static final TagType TAG_INT_ARRAY
public static final TagType TAG_SHORT_ARRAY
public static TagType[] values()
for (TagType c : TagType.values()) System.out.println(c);
public static TagType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getTypeName()
public int getId()
public static TagType getById(int id)
Copyright © 2011–2014 Flow Powered. All rights reserved.