|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.io.shpapi.DBFDataSection
Class representing a record of the data section of a dBase III/IV file
at the moment only the daata types character ("C") and numeric ("N")
are supported
Last changes:
28.04.00 ap: constructor declared and implemented
28.04.00 ap: method setRecord(ArrayList recData) declared and implemented
28.04.00 ap: method getDataSection() declared and implemented
03.05.00 ap: method setRecord(ArrayList recData) modified
03.05.00 ap: method setRecord(int index, ArrayList recData) declared and implemented
03.05.00 ap: method getDataSection() modified
Field Summary | |
private java.util.ArrayList |
data
|
private FieldDescriptor[] |
fieldDesc
|
private int |
recordlength
|
Constructor Summary | |
DBFDataSection(FieldDescriptor[] fieldDesc)
constructor |
Method Summary | |
byte[] |
getDataSection()
method: public byte[] getDataSection() returns the data section as a byte array. |
int |
getNoOfRecords()
method: public int getNoOfRecords() returns the number of records within the container |
void |
setRecord(java.util.ArrayList recData)
method: public setRecord(ArrayList recData) writes a data record to byte array representing the data section of the dBase file. |
void |
setRecord(int index,
java.util.ArrayList recData)
method: public setRecord(int index, ArrayList recData) writes a data record to byte array representing the data section of the dBase file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int recordlength
private FieldDescriptor[] fieldDesc
private java.util.ArrayList data
Constructor Detail |
public DBFDataSection(FieldDescriptor[] fieldDesc)
Method Detail |
public void setRecord(java.util.ArrayList recData) throws DBaseException
DBaseException
public void setRecord(int index, java.util.ArrayList recData) throws DBaseException
DBaseException
public byte[] getDataSection()
public int getNoOfRecords()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |