| java.lang.Object org.geotools.data.vpf.io.TableHeader
TableHeader | public class TableHeader implements VPFHeader,DataTypesDefinition(Code) | | 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
author: Artur Hefczyc version: 1.0 |
Constructor Summary | |
public | TableHeader(int length, char byteOrder, String description, String narrativeTable, List columnDefs) Creates a new TableHeader instance. |
Method Summary | |
public char | getByteOrder() Gets the value of byteOrder variable. | public List | getColumnDefs() Gets the value of columnDefs variable keeping definitions of all columns
in this table. | public String | getDescription() Gets the value of the description of table content. | public int | getLength() Gets the value of full length of ASCII header string including
headerLength field. | public String | getNarrativeTable() Gets the value of narrativeTable variable file name. | public int | getRecordSize() Method getRecordSize is used to return size in
bytes of records stored in this table. | public String | toString() Method toString returns content of all fields values. |
TableHeader | public TableHeader(int length, char byteOrder, String description, String narrativeTable, List columnDefs)(Code) | | Creates a new TableHeader instance.
Parameters: length - an int value of table header length. Parameters: byteOrder - a char value byte order used in tablefile. Parameters: description - a String value text description of foundin header of this table. Parameters: narrativeTable - a String value file name of narrativetable. Parameters: columnDefs - a List value of all column definitionsfor this table. |
getByteOrder | public char getByteOrder()(Code) | | Gets the value of byteOrder variable. Byte order in which table is
written:
-
L - least-significant-first
-
M - most-significant-first
the value of byteOrder |
getColumnDefs | public List getColumnDefs()(Code) | | Gets the value of columnDefs variable keeping definitions of all columns
in this table.
the value of columnDefs |
getDescription | public String getDescription()(Code) | | Gets the value of the description of table content.
the value of description |
getLength | public int getLength()(Code) | | Gets the value of full length of ASCII header string including
headerLength field.
the value of headerLength |
getNarrativeTable | public String getNarrativeTable()(Code) | | Gets the value of narrativeTable variable file name.
the value of narrativeTable |
getRecordSize | public int getRecordSize()(Code) | | Method getRecordSize is used to return size in
bytes of records stored in this table. If table keeps variable length
records -1 should be returned.
an int value |
toString | public String toString()(Code) | | Method toString returns content of all fields values. Used
only for test and debug purpose.
a String value |
|
|