public enum NumericEncoding extends java.lang.Enum<NumericEncoding>
Enum Constant and Description |
---|
ALPHAOSF1 |
ALPHAVMSd |
ALPHAVMSg |
ALPHAVMSi |
DECSTATION |
HP |
IBMPC |
IBMRS |
MAC |
NETWORK |
NeXT |
SGi |
SUN |
VAX |
Modifier and Type | Method and Description |
---|---|
static NumericEncoding |
getEncoding(int code)
Returns the encoding corresponding to the value of the
encoding field of the CDF Descriptor Record. |
java.lang.Boolean |
isBigendian()
Gives the big/little-endianness of this encoding, if that's all
the work that has to be done.
|
static NumericEncoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NumericEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumericEncoding NETWORK
public static final NumericEncoding SUN
public static final NumericEncoding NeXT
public static final NumericEncoding MAC
public static final NumericEncoding HP
public static final NumericEncoding SGi
public static final NumericEncoding IBMRS
public static final NumericEncoding DECSTATION
public static final NumericEncoding IBMPC
public static final NumericEncoding ALPHAOSF1
public static final NumericEncoding ALPHAVMSi
public static final NumericEncoding VAX
public static final NumericEncoding ALPHAVMSd
public static final NumericEncoding ALPHAVMSg
public static NumericEncoding[] values()
for (NumericEncoding c : NumericEncoding.values()) System.out.println(c);
public static NumericEncoding 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 java.lang.Boolean isBigendian()
public static NumericEncoding getEncoding(int code) throws CdfFormatException
encoding
field of the CDF Descriptor Record.code
- encoding codeCdfFormatException
- if code is unknown