|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.fmap.drivers.shp.DbaseFileNIO
Class to read and write data to a dbase III format file. Creation date: (5/15/2001 5:15:13 PM)
Constructor Summary | |
DbaseFileNIO()
|
Method Summary | |
void |
close()
Removes all data from the dataset |
boolean |
getBooleanFieldValue(int rowIndex,
int fieldId)
Devuelve el valor de un boolean a partir de su número de fila y de field. |
int |
getFieldCount()
Devuelve el número de fields. |
int |
getFieldDecimalLength(int inIndex)
Retrieve the location of the decimal point. |
int |
getFieldLength(int inIndex)
Retrieve the length of the given column. |
java.lang.String |
getFieldName(int inIndex)
Retrieve the name of the given column. |
char |
getFieldType(int inIndex)
Retrieve the type of the given column. |
java.lang.Number |
getNumberFieldValue(int rowIndex,
int fieldId)
Devuelve el Number a partir de una fila y columna. |
int |
getRecordCount()
Retrieve number of records in the DbaseFile |
java.lang.String |
getStringFieldValue(int rowIndex,
int fieldId)
Devuelve el String a partir del número de fila y columna. |
void |
open(java.io.File file)
read the DBF file into memory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DbaseFileNIO()
Method Detail |
public int getRecordCount()
public int getFieldCount()
public boolean getBooleanFieldValue(int rowIndex, int fieldId)
rowIndex
- Número de fila.fieldId
- Número columna.
public java.lang.String getStringFieldValue(int rowIndex, int fieldId)
rowIndex
- Número de fila.fieldId
- Número de columna.
public java.lang.Number getNumberFieldValue(int rowIndex, int fieldId)
rowIndex
- Número fila.fieldId
- Número columna.
public java.lang.String getFieldName(int inIndex)
inIndex
- índice.
public char getFieldType(int inIndex)
inIndex
- índice.
public int getFieldLength(int inIndex)
inIndex
- indice.
public int getFieldDecimalLength(int inIndex)
inIndex
- índice.
public void open(java.io.File file) throws java.io.IOException
file
- Fichero.
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
- .
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |