opendap.servers.test
public class test_SDArray extends SDArray
Array
value.BaseType
,
Serialized FormConstructor and Description |
---|
test_SDArray()
Constructs a new
test_SDArray . |
test_SDArray(java.lang.String n)
Constructs a new
test_SDArray with name n . |
Modifier and Type | Method and Description |
---|---|
void |
cacheShape() |
int |
getCachedShape(int dim) |
boolean |
read(java.lang.String datasetName,
java.lang.Object specialO)
Read a value from the named dataset for this variable.
|
appendDim, appendDim, equal, getStart, getStop, getStride, greater_eql, greater, isProject, isRead, isSynthesized, less_eql, less, not_equal, printDecl, printVal, printXML, regexp, serialize, setProject, setProject, setProjection, setRead, setSynthesized
appendDim, checkSemantics, clone, getDimension, getDimensions, getFirstDimension, getTypeName, numDimensions, printAsMapXML, squeeze
addVariable, deserialize, externalize, getLength, getPrimitiveVector, setLength
addAttributeAlias, addAttributeContainer, appendAttribute, appendAttribute, appendAttributeContainer, checkSemantics, delAttribute, delAttribute, elementCount, elementCount, getAttribute, getAttribute, getAttributeNames, getAttributeTable, getClearName, getLongName, getName, getParent, hasAttributes, newPrimitiveVector, printAttributes, printAttributes, printAttributes, printAttributes, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, printXML, printXML, printXML, printXML, setClearName, setName, setParent
public test_SDArray()
test_SDArray
.public test_SDArray(java.lang.String n)
test_SDArray
with name n
.n
- the name of the variable.public void cacheShape()
public int getCachedShape(int dim)
public boolean read(java.lang.String datasetName, java.lang.Object specialO) throws NoSuchVariableException, java.io.IOException, java.io.EOFException
read
in interface ServerMethods
read
in class SDArray
datasetName
- String identifying the file or other data store
from which to read a vaue for this variable.specialO
- This Object
is a goody that is used by Server implementations
to deliver important, and as yet unknown, stuff to the read method. If you
don't need it, make it a null
.true
if more data remains to be read, otherwise
false
. This is an abtsract method that must be implemented
as part of the installation/localization of a OPeNDAP server.java.io.IOException
java.io.EOFException
NoSuchVariableException
- When a variable can't be found.