| Modifier and Type | Method and Description |
|---|---|
double[] |
get1D(java.lang.String varName)
Returns values of a numeric variable whose values can be converted
to double without loss of precision as double[].If variable is non-numeric, or of type long a Throwable is thrown.
|
java.lang.Object |
get1D(java.lang.String varName,
boolean preserve)
Returns value of a variable as a one dimensional array.returns, as double[], values of a numeric variable whose values can be
converted to double without loss of precision;
returns, as byte[], values of a string variable;
returns, as long[], values of a long variable for preserve = true,
and as double[] otherwise.
|
byte[] |
get1D(java.lang.String varName,
java.lang.Boolean stringType)
Returns values of a string variable as byte[].If variable is numeric, a Throwable is thrown.
|
java.lang.Object |
get1D(java.lang.String varName,
int point)
Returns value of 1 dimensional variable at the specified point.
|
java.lang.Object |
get1D(java.lang.String varName,
int first,
int last)
Returns values of 1 dimensional variable for the specified
range of points.
|
java.lang.Object |
getAttribute(java.lang.String atr)
Returns value of the named global attribute.
|
java.lang.Object |
getAttribute(java.lang.String vname,
java.lang.String aname)
Returns value of the named attribute for specified variable.
|
java.util.Vector |
getAttributeEntries(java.lang.String attribute) |
java.util.Vector |
getAttributeEntries(java.lang.String vname,
java.lang.String attribute) |
java.nio.ByteOrder |
getByteOrder()
Returns ByteOrder.LITTLE_ENDIAN, or ByteOrder.BIG_ENDIAN depending
the CDF encoding
|
GlobalAttribute |
getGlobalAttribute(java.lang.String atr)
Returns the
GlobalAttribute object for the named global
attribute. |
VariableMetaData |
getVariable(java.lang.String name)
Returns the object that implements the
Variable interface for
the named variable |
java.lang.String[] |
getVariableNames()
Returns names of variables in the CDF
|
java.lang.String[] |
getVariableNames(java.lang.String type)
Returns names of variables of given VAR_TYPE in the CDF
|
java.lang.String[] |
globalAttributeNames()
Returns names of global attributes.
|
boolean |
isCompatible(java.lang.String vname,
java.lang.Class cl)
Returns whether value of the given variable can be cast to the
specified type without loss of precision
|
boolean |
rowMajority()
Returns whether the arrays are stored in row major order in the source
|
java.lang.String[] |
variableAttributeNames(java.lang.String name)
Returns names of attributes of the given variable.
|
java.nio.ByteOrder getByteOrder()
boolean rowMajority()
java.lang.String[] getVariableNames()
VariableMetaData getVariable(java.lang.String name)
Variable interface for
the named variablename - java.lang.String[] getVariableNames(java.lang.String type)
type - java.lang.String[] globalAttributeNames()
java.lang.String[] variableAttributeNames(java.lang.String name)
name - java.lang.Object getAttribute(java.lang.String atr)
For a character string attribute, a Vector of String is returned For a numeric attribute, a long[] is returned for long type; double[] is returned for all other numeric types.
atr - GlobalAttribute getGlobalAttribute(java.lang.String atr) throws java.lang.Throwable
GlobalAttribute object for the named global
attribute.atr - java.lang.Throwablejava.lang.Object getAttribute(java.lang.String vname,
java.lang.String aname)
For a character string attribute, a String[] is returned For a numeric attribute, a long[] is returned for long type; double[] is returned for all other numeric types.
vname - aname - boolean isCompatible(java.lang.String vname,
java.lang.Class cl)
throws java.lang.Throwable
vname - cl - java.lang.Throwabledouble[] get1D(java.lang.String varName)
throws java.lang.Throwable
varName - java.lang.Throwablebyte[] get1D(java.lang.String varName,
java.lang.Boolean stringType)
throws java.lang.Throwable
varName - stringType - java.lang.Throwablejava.lang.Object get1D(java.lang.String varName,
boolean preserve)
throws java.lang.Throwable
varName - preserve - java.lang.Throwablejava.lang.Object get1D(java.lang.String varName,
int point)
throws java.lang.Throwable
varName - point - java.lang.Throwablejava.lang.Object get1D(java.lang.String varName,
int first,
int last)
throws java.lang.Throwable
varName - name of the variablefirst - record number of first point of rangelast - record number of first point of rangejava.lang.Throwablejava.util.Vector getAttributeEntries(java.lang.String attribute)
throws java.lang.Throwable
attribute - java.lang.Throwablejava.util.Vector getAttributeEntries(java.lang.String vname,
java.lang.String attribute)
vname - attribute -