at.tuwien.ifs.somtoolbox.apps.helper
Enum SomFilePacker.SomFileEntries
java.lang.Object
java.lang.Enum<SomFilePacker.SomFileEntries>
at.tuwien.ifs.somtoolbox.apps.helper.SomFilePacker.SomFileEntries
- All Implemented Interfaces:
- Serializable, Comparable<SomFilePacker.SomFileEntries>
- Enclosing class:
- SomFilePacker
public static enum SomFilePacker.SomFileEntries
- extends Enum<SomFilePacker.SomFileEntries>
UNIT
public static final SomFilePacker.SomFileEntries UNIT
WGT
public static final SomFilePacker.SomFileEntries WGT
MAP
public static final SomFilePacker.SomFileEntries MAP
CLS
public static final SomFilePacker.SomFileEntries CLS
REG
public static final SomFilePacker.SomFileEntries REG
VEC
public static final SomFilePacker.SomFileEntries VEC
TV
public static final SomFilePacker.SomFileEntries TV
DWM
public static final SomFilePacker.SomFileEntries DWM
LINK
public static final SomFilePacker.SomFileEntries LINK
COLOR
public static final SomFilePacker.SomFileEntries COLOR
values
public static SomFilePacker.SomFileEntries[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SomFilePacker.SomFileEntries c : SomFilePacker.SomFileEntries.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SomFilePacker.SomFileEntries valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getRootKey
public static String getRootKey(SomFilePacker.SomFileEntries entry)
getParamID
public static String getParamID(SomFilePacker.SomFileEntries e)
getEntryByParamID
public static SomFilePacker.SomFileEntries getEntryByParamID(String id)