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