|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.vpf.io.TableHeader
This class contains definition of VPF standard table header according to specification found in: "Interface Standard for Vector Product Format." Objects of this type are immutable. Created: Thu Jan 02 22:50:59 2003
Field Summary |
Constructor Summary | |
TableHeader(int length,
char byteOrder,
java.lang.String description,
java.lang.String narrativeTable,
java.util.List columnDefs)
Creates a new TableHeader instance. |
Method Summary | |
char |
getByteOrder()
Gets the value of byteOrder variable. |
java.util.List |
getColumnDefs()
Gets the value of columnDefs variable keeping definitions of all columns in this table. |
java.lang.String |
getDescription()
Gets the value of the description of table content. |
int |
getLength()
Gets the value of full length of ASCII header string including headerLength field. |
java.lang.String |
getNarrativeTable()
Gets the value of narrativeTable variable file name. |
int |
getRecordSize()
Method is used to return size in
bytes of records stored in this table. |
java.lang.String |
toString()
Method toString returns content of all fields values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TableHeader(int length, char byteOrder, java.lang.String description, java.lang.String narrativeTable, java.util.List columnDefs)
TableHeader
instance.
length
- an int
value of table header length.byteOrder
- a char
value byte order used in table
file.description
- a String
value text description of found
in header of this table.narrativeTable
- a String
value file name of narrative
table.columnDefs
- a List
value of all column definitions
for this table.Method Detail |
public java.lang.String toString()
toString
returns content of all fields values. Used
only for test and debug purpose.
String
valuepublic int getLength()
headerLength
field.
getLength
in interface VPFHeader
public int getRecordSize()
getRecordSize
is used to return size in
bytes of records stored in this table. If table keeps variable length
records -1
should be returned.
getRecordSize
in interface VPFHeader
int
valuepublic char getByteOrder()
public java.lang.String getDescription()
public java.lang.String getNarrativeTable()
public java.util.List getColumnDefs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |