Package org.geotools.data.vpf.io
Class VariableIndexHeader
- Object
-
- VariableIndexHeader
-
- All Implemented Interfaces:
VPFHeader
public class VariableIndexHeader extends Object implements VPFHeader
VariableIndexHeader.java Created: Tue Mar 11 23:41:57 2003- Author:
- Artur Hefczyc
-
-
Field Summary
Fields Modifier and Type Field Description static int
VARIABLE_INDEX_HEADER_LENGTH
Variable constantVARIABLE_INDEX_HEADER_LENGTH
keeps value ofstatic int
VARIABLE_INDEX_ROW_SIZE
Variable constantVARIABLE_INDEX_ROW_SIZE
keeps value of
-
Constructor Summary
Constructors Constructor Description VariableIndexHeader(int entriesNumber, int vpfHeaderLen)
Creates a new VariableIndexHeader object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEntriesNumber()
Gets the value ofentriesNumber
int
getLength()
Returns particularVPFHeader
length.int
getRecordSize()
Method
is used to return size in bytes of records stored in this table.getRecordSize
int
getVpfHeaderLen()
Gets the value ofvpfHeaderLen
-
-
-
Field Detail
-
VARIABLE_INDEX_HEADER_LENGTH
public static final int VARIABLE_INDEX_HEADER_LENGTH
Variable constantVARIABLE_INDEX_HEADER_LENGTH
keeps value of- See Also:
- Constant Field Values
-
VARIABLE_INDEX_ROW_SIZE
public static final int VARIABLE_INDEX_ROW_SIZE
Variable constantVARIABLE_INDEX_ROW_SIZE
keeps value of- See Also:
- Constant Field Values
-
-
Method Detail
-
getLength
public int getLength()
Returns particularVPFHeader
length.
-
getRecordSize
public int getRecordSize()
Method
is used to return size in bytes of records stored in this table. If table keeps variable length recordsgetRecordSize
-1
should be returned.- Specified by:
getRecordSize
in interfaceVPFHeader
- Returns:
- an
valueint
-
getEntriesNumber
public int getEntriesNumber()
Gets the value ofentriesNumber
- Returns:
- the value of
entriesNumber
-
getVpfHeaderLen
public int getVpfHeaderLen()
Gets the value ofvpfHeaderLen
- Returns:
- the value of
vpfHeaderLen
-
-