public abstract class ExternalDataSource extends java.lang.Object implements DataSource
Modifier and Type | Field and Description |
---|---|
static int |
BYTE
Codes for different possible data types.
|
static int |
CHAR |
static int |
DOUBLE |
static int |
FILEBUFFERSIZE
Size of read in file buffer.
|
static int |
FLOAT |
static int |
INT |
static int |
LONG |
static int |
SHORT |
static int |
UINT |
static int |
USHORT |
Modifier and Type | Method and Description |
---|---|
static int |
getDataTypeCode(java.lang.String s)
Converts a String indicating a primitive data type to an integer code for
that data type..
|
static java.lang.String |
typeString(int typeCode)
Converts the data type integer code to a string
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
more, nextVoxel
public static int FILEBUFFERSIZE
public static final int BYTE
public static final int SHORT
public static final int INT
public static final int LONG
public static final int FLOAT
public static final int DOUBLE
public static final int CHAR
public static final int USHORT
public static final int UINT
public static int getDataTypeCode(java.lang.String s) throws DataSourceException
String
- The data type as a String: "byte", "float", etc.DataSourceException
public static java.lang.String typeString(int typeCode)
typeCode
- integer representing the data type.