|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.data.vpf.io.VPFInputStream
VPFInputStream.java Created: Mon Feb 24 22:39:57 2003
| Field Summary | |
protected VPFHeader |
header
Describe variable header here. |
protected java.io.RandomAccessFile |
input
Describe variable input here. |
protected java.lang.String |
streamFile
Describe variable streamFile here. |
| Constructor Summary | |
VPFInputStream(java.lang.String file)
Creates a new VPFInputStream instance. |
|
VPFInputStream(java.lang.String file,
char byteOrder)
Creates a new VPFInputStream instance. |
|
| Method Summary | |
int |
availableRows()
Describe availableRows method here. |
void |
close()
Describe close method here. |
protected void |
condeb(java.lang.String msg)
Describe condeb method here. |
char |
getByteOrder()
Get the ByteOrder value. |
VPFHeader |
getHeader()
Describe getHeader method here. |
java.lang.String |
getVariableIndexFileName()
Describe getVariableIndexFileName method here. |
java.util.List |
readAllRows()
Describe readAllRows method here. |
protected char |
readChar()
Describe readChar method here. |
protected org.opengis.spatialschema.geometry.DirectPosition[] |
readCoord2DDouble(int instancesCount)
|
protected org.opengis.spatialschema.geometry.DirectPosition[] |
readCoord2DFloat(int instancesCount)
|
protected org.opengis.spatialschema.geometry.DirectPosition[] |
readCoord3DDouble(int instancesCount)
|
protected org.opengis.spatialschema.geometry.DirectPosition[] |
readCoord3DFloat(int instancesCount)
|
protected double |
readDouble()
Describe readDouble method here. |
protected java.lang.Object |
readFixedSizeData(char dataType,
int instancesCount)
Describe readFixedSizeData method here. |
protected float |
readFloat()
Describe readFloat method here. |
abstract VPFHeader |
readHeader()
Describe readHeader method here. |
protected int |
readInteger()
Describe readInteger method here. |
protected byte[] |
readNumber(int cnt)
Describe readNumber method here. |
abstract VPFRow |
readRow()
Describe readRow method here. |
VPFRow |
readRow(int index)
Method readRow is used to perform |
int |
readRows(VPFRow[] rows)
Method readRows is used to perform |
int |
readRows(VPFRow[] rows,
int fromIndex)
Describe readRows method here. |
protected short |
readShort()
Describe readShort method here. |
protected java.lang.String |
readString(java.lang.String terminators)
Describe readString method here. |
protected TripletId |
readTripletId()
|
protected java.lang.Object |
readVariableSizeData(char dataType)
Describe readVariableSizeData method here. |
protected void |
seek(long pos)
Describe seek method here. |
void |
setByteOrder(char newByteOrder)
Set the ByteOrder value. |
void |
setPosition(long pos)
DOCUMENT ME! |
abstract int |
tableSize()
Describe tableSize method here. |
protected void |
unread(long bytes)
Describe unread method here. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.io.RandomAccessFile input
input here.
protected VPFHeader header
header here.
protected java.lang.String streamFile
streamFile here.
| Constructor Detail |
public VPFInputStream(java.lang.String file)
throws java.io.IOException
VPFInputStream instance.
file - a String value
java.io.IOException - if an error occurs
public VPFInputStream(java.lang.String file,
char byteOrder)
throws java.io.IOException
VPFInputStream instance.
file - a String valuebyteOrder - a char value
java.io.IOException - if an error occurs| Method Detail |
public abstract VPFHeader readHeader()
throws java.io.IOException
readHeader method here.
VPFHeader value
java.io.IOException - if an error occurs
public abstract VPFRow readRow()
throws java.io.IOException
readRow method here.
VPFRow value
java.io.IOException - if an error occurs
public abstract int tableSize()
throws java.io.IOException
tableSize method here.
int value
java.io.IOException - if an error occurspublic java.lang.String getVariableIndexFileName()
getVariableIndexFileName method here.
String valuepublic VPFHeader getHeader()
getHeader method here.
VPFHeader valuepublic char getByteOrder()
public void setByteOrder(char newByteOrder)
newByteOrder - The new ByteOrder value.
protected void unread(long bytes)
throws java.io.IOException
unread method here.
bytes - a long value
java.io.IOException - if an error occurs
protected void seek(long pos)
throws java.io.IOException
seek method here.
pos - a long value
java.io.IOException - if an error occurs
public void setPosition(long pos)
throws java.io.IOException
pos - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public VPFRow readRow(int index)
throws java.io.IOException
readRow is used to perform
index - an int value
VPFRow value
java.io.IOException - if an error occurs
public java.util.List readAllRows()
throws java.io.IOException
readAllRows method here.
List value
java.io.IOException - if an error occurs
public int readRows(VPFRow[] rows)
throws java.io.IOException
readRows is used to perform
rows - a VPFRow[] value
int value
java.io.IOException - if an error occurs
public int readRows(VPFRow[] rows,
int fromIndex)
throws java.io.IOException
readRows method here.
rows - a VPFRow[] valuefromIndex - an int value
int value
java.io.IOException - if an error occurs
protected char readChar()
throws java.io.IOException
readChar method here.
char value
java.io.IOException - if an error occurs
protected java.lang.String readString(java.lang.String terminators)
throws java.io.IOException
readString method here.
terminators - a String value
String value
java.io.IOException - if an error occurs
protected java.lang.Object readVariableSizeData(char dataType)
throws java.io.IOException
readVariableSizeData method here.
dataType - a char value
Object value
java.io.IOException - if an error occurs
protected java.lang.Object readFixedSizeData(char dataType,
int instancesCount)
throws java.io.IOException
readFixedSizeData method here.
dataType - a char valueinstancesCount - an int value
Object value
java.io.IOException - if an error occurs
protected byte[] readNumber(int cnt)
throws java.io.IOException
readNumber method here.
cnt - an int value
byte[] value
java.io.IOException - if an error occurs
protected short readShort()
throws java.io.IOException
readShort method here.
short value
java.io.IOException - if an error occurs
protected int readInteger()
throws java.io.IOException
readInteger method here.
int value
java.io.IOException - if an error occurs
protected float readFloat()
throws java.io.IOException
readFloat method here.
float value
java.io.IOException - if an error occurs
protected double readDouble()
throws java.io.IOException
readDouble method here.
double value
java.io.IOException - if an error occurs
protected TripletId readTripletId()
throws java.io.IOException
java.io.IOException
protected org.opengis.spatialschema.geometry.DirectPosition[] readCoord3DFloat(int instancesCount)
throws java.io.IOException
java.io.IOException
protected org.opengis.spatialschema.geometry.DirectPosition[] readCoord2DFloat(int instancesCount)
throws java.io.IOException
java.io.IOException
protected org.opengis.spatialschema.geometry.DirectPosition[] readCoord2DDouble(int instancesCount)
throws java.io.IOException
java.io.IOException
protected org.opengis.spatialschema.geometry.DirectPosition[] readCoord3DDouble(int instancesCount)
throws java.io.IOException
java.io.IOExceptionpublic int availableRows()
availableRows method here.
int value
public void close()
throws java.io.IOException
close method here.
java.io.IOException - if an error occursprotected void condeb(java.lang.String msg)
condeb method here.
msg - a String value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||