|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NumericEncoding>
uk.ac.bristol.star.cdf.record.NumericEncoding
public enum NumericEncoding
Enumeration of numeric encoding values supported by CDF.
Enum Constant Summary | |
---|---|
ALPHAOSF1
|
|
ALPHAVMSd
|
|
ALPHAVMSg
|
|
ALPHAVMSi
|
|
DECSTATION
|
|
HP
|
|
IBMPC
|
|
IBMRS
|
|
MAC
|
|
NETWORK
|
|
NeXT
|
|
SGi
|
|
SUN
|
|
VAX
|
Method Summary | |
---|---|
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. |
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 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
Method Detail |
---|
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 name
java.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 code
CdfFormatException
- if code is unknown
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |