|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DataType>
org.deegree.coverage.raster.data.info.DataType
public enum DataType
Enumeration for all supported data types.
| Enum Constant Summary | |
|---|---|
BYTE
|
|
DOUBLE
|
|
FLOAT
|
|
INT
|
|
SHORT
|
|
UNDEFINED
|
|
USHORT
|
|
| Method Summary | |
|---|---|
static DataType |
fromDataBufferType(int type)
Convert from DataBuffer-Types to DataTypes. |
int |
getSize()
|
static int |
toDataBufferType(DataType type)
Convert from DataTypes to DataBuffer-Types. |
static DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DataType[] |
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 DataType BYTE
public static final DataType INT
public static final DataType USHORT
public static final DataType SHORT
public static final DataType FLOAT
public static final DataType DOUBLE
public static final DataType UNDEFINED
| Method Detail |
|---|
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 final int getSize()
public static DataType fromDataBufferType(int type)
DataBuffer-Types to DataTypes.
type - The DataBuffer-Type (eg. TYPE_BYTE, etc.)
public static int toDataBufferType(DataType type)
DataTypes to DataBuffer-Types.
type - The DataType.
DataBuffer-Type (eg. TYPE_BYTE, etc.)
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||