|
xmlgraphics-commons 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Endianness>
org.apache.xmlgraphics.image.writer.Endianness
public enum Endianness
Enumeration for specifying the endianness of the image.
Enum Constant Summary | |
---|---|
BIG_ENDIAN
Big endian, most significant byte first, MSB, Motorola Format. |
|
DEFAULT
Default endianness. |
|
LITTLE_ENDIAN
Little endian, least significant byte first, LSB, Intel Format. |
Method Summary | |
---|---|
static Endianness |
getEndianType(String value)
Translates an endian type specified in the configuration file into the equivalent type should one exist. |
static Endianness |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Endianness[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Endianness DEFAULT
public static final Endianness LITTLE_ENDIAN
public static final Endianness BIG_ENDIAN
Method Detail |
---|
public static Endianness[] values()
for (Endianness c : Endianness.values()) System.out.println(c);
public static Endianness valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static Endianness getEndianType(String value)
value
- The value specified in the configration file
|
xmlgraphics-commons 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |