|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.visad.BinaryReader
public class BinaryReader
Read a Data
object in VisAD's binary format.
Field Summary |
---|
Constructor Summary | |
---|---|
BinaryReader(File ref)
Open the referenced file. |
|
BinaryReader(InputStream stream)
Prepare to read a binary object from the specified stream. |
|
BinaryReader(RandomAccessFile raf)
Prepare to read a binary object from the specified stream. |
|
BinaryReader(ucar.netcdf.RandomAccessFile raf)
Prepare to read a binary object from the specified stream. |
|
BinaryReader(String name)
Open the named file. |
Method Summary | |
---|---|
void |
close()
|
BinaryObjectCache |
getCoordinateSystemCache()
|
DataImpl |
getData()
|
BinaryObjectCache |
getErrorEstimateCache()
|
long |
getFilePointer()
|
DataInput |
getInput()
|
BinaryObjectCache |
getTypeCache()
|
BinaryObjectCache |
getUnitCache()
|
static boolean |
isMagic(byte[] block)
|
boolean |
isRandom()
|
DataImpl |
readData()
|
void |
seek(long pos)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BinaryReader(String name) throws IOException
name
- Name of file to be read.
IOException
- If the file cannot be opened.public BinaryReader(File ref) throws IOException
ref
- File to be read.
IOException
- If the file cannot be opened.public BinaryReader(InputStream stream) throws IOException
stream
- Stream to read.
IOException
- If the file cannot be opened.public BinaryReader(RandomAccessFile raf) throws IOException
raf
- File to read.
IOException
- If the file cannot be opened.public BinaryReader(ucar.netcdf.RandomAccessFile raf) throws IOException
raf
- File to read.
IOException
- If the file cannot be opened.Method Detail |
---|
public void close() throws IOException
IOException
public DataImpl getData() throws IOException, VisADException
IOException
VisADException
public final BinaryObjectCache getCoordinateSystemCache()
public final BinaryObjectCache getErrorEstimateCache()
public final long getFilePointer() throws IOException
IOException
public final DataInput getInput()
public final BinaryObjectCache getTypeCache()
public final BinaryObjectCache getUnitCache()
public static boolean isMagic(byte[] block)
public final boolean isRandom()
public DataImpl readData() throws IOException, VisADException
IOException
VisADException
public final void seek(long pos) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |