ByteOrder

Contents
[ ]

Inheritance: java.lang.Object, java.lang.Enum

All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue

public enum ByteOrder extends Enum<ByteOrder> implements IEnumValue

Defines various byte orders.

Fields

Field Description
Unknown The byte order is unknown.
BigEndian Big endian.
LittleEndian Little endian.

Methods

Method Description
values()
valueOf(String name)
getByRawValue(int rawValue)
getFirst()
getAllValues()
getEnumValueByRawValue(int rawValue)
getEnumValueByName(String name)
getRawValueType()
getRawValue()

Unknown

public static final ByteOrder Unknown

The byte order is unknown.

BigEndian

public static final ByteOrder BigEndian

Big endian.

LittleEndian

public static final ByteOrder LittleEndian

Little endian.

values()

public static ByteOrder[] values()

Returns: com.groupdocs.metadata.core.ByteOrder[]

valueOf(String name)

public static ByteOrder valueOf(String name)

Parameters:

Parameter Type Description
name java.lang.String

Returns: ByteOrder

getByRawValue(int rawValue)

public static ByteOrder getByRawValue(int rawValue)

Parameters:

Parameter Type Description
rawValue int

Returns: ByteOrder

getFirst()

public static IEnumValue getFirst()

Returns: IEnumValue

getAllValues()

public Object[] getAllValues()

Returns the array of all values defined in the class.

Returns: java.lang.Object[]

getEnumValueByRawValue(int rawValue)

public IEnumValue getEnumValueByRawValue(int rawValue)

Returns the enumeration value by the raw value associated with it.

Parameters:

Parameter Type Description
rawValue int

Returns: IEnumValue

getEnumValueByName(String name)

public IEnumValue getEnumValueByName(String name)

Returns the enumeration value by its name.

Parameters:

Parameter Type Description
name java.lang.String

Returns: IEnumValue

getRawValueType()

public RawIntegerType getRawValueType()

Returns the underlying type of the raw value of this enumeration value.

Returns: RawIntegerType

getRawValue()

public int getRawValue()

Returns the raw value of this enumeration value.

Returns: int