public static enum FSP2LProtoIndex.ItemType extends java.lang.Enum<FSP2LProtoIndex.ItemType>
| Enum Constant and Description |
|---|
CHANGES |
DIR_PROPS |
DIR_REP |
FILE_PROPS |
FILE_REP |
NODEREV |
UNUSED |
| Modifier and Type | Field and Description |
|---|---|
private int |
code |
| Modifier and Type | Method and Description |
|---|---|
static FSP2LProtoIndex.ItemType |
fromCode(int code) |
int |
getCode() |
static FSP2LProtoIndex.ItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FSP2LProtoIndex.ItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FSP2LProtoIndex.ItemType UNUSED
public static final FSP2LProtoIndex.ItemType FILE_REP
public static final FSP2LProtoIndex.ItemType DIR_REP
public static final FSP2LProtoIndex.ItemType FILE_PROPS
public static final FSP2LProtoIndex.ItemType DIR_PROPS
public static final FSP2LProtoIndex.ItemType NODEREV
public static final FSP2LProtoIndex.ItemType CHANGES
public static FSP2LProtoIndex.ItemType[] values()
for (FSP2LProtoIndex.ItemType c : FSP2LProtoIndex.ItemType.values()) System.out.println(c);
public static FSP2LProtoIndex.ItemType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static FSP2LProtoIndex.ItemType fromCode(int code)
public int getCode()