Package org.hpccsystems.commons.ecl
Enum HpccSrcType
- java.lang.Object
-
- java.lang.Enum<HpccSrcType>
-
- org.hpccsystems.commons.ecl.HpccSrcType
-
- All Implemented Interfaces:
Serializable
,Comparable<HpccSrcType>
public enum HpccSrcType extends Enum<HpccSrcType>
The type of the binary source data.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIG_ENDIAN
BINARY_CODED_DECIMAL
LITTLE_ENDIAN
QSTRING
SINGLE_BYTE_CHAR
UNKNOWN
UTF16BE
UTF16LE
UTF8
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Description of the enumeration value;.boolean
isUTF16()
The data is UTF16.static HpccSrcType
valueOf(String name)
Returns the enum constant of this type with the specified name.static HpccSrcType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_BYTE_CHAR
public static final HpccSrcType SINGLE_BYTE_CHAR
-
QSTRING
public static final HpccSrcType QSTRING
-
UTF8
public static final HpccSrcType UTF8
-
UTF16BE
public static final HpccSrcType UTF16BE
-
UTF16LE
public static final HpccSrcType UTF16LE
-
BIG_ENDIAN
public static final HpccSrcType BIG_ENDIAN
-
LITTLE_ENDIAN
public static final HpccSrcType LITTLE_ENDIAN
-
BINARY_CODED_DECIMAL
public static final HpccSrcType BINARY_CODED_DECIMAL
-
UNKNOWN
public static final HpccSrcType UNKNOWN
-
-
Method Detail
-
values
public static HpccSrcType[] 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 (HpccSrcType c : HpccSrcType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HpccSrcType 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 nameNullPointerException
- if the argument is null
-
getDescription
public String getDescription()
Description of the enumeration value;.- Returns:
- a description
-
isUTF16
public boolean isUTF16()
The data is UTF16.- Returns:
- true, if is utf16
-
-