org.geotools.data.vpf.io
Class VariableIndexHeader

java.lang.Object
  extended byorg.geotools.data.vpf.io.VariableIndexHeader
All Implemented Interfaces:
VPFHeader

public class VariableIndexHeader
extends java.lang.Object
implements VPFHeader

VariableIndexHeader.java Created: Tue Mar 11 23:41:57 2003

Version:
$Id: VariableIndexHeader.java 17700 2006-01-22 23:30:39Z desruisseaux $
Author:
Artur Hefczyc

Field Summary
static int VARIABLE_INDEX_HEADER_LENGTH
          Variable constant VARIABLE_INDEX_HEADER_LENGTH keeps value of
static int VARIABLE_INDEX_ROW_SIZE
          Variable constant VARIABLE_INDEX_ROW_SIZE keeps value of
 
Constructor Summary
VariableIndexHeader(int entriesNumber, int vpfHeaderLen)
          Creates a new VariableIndexHeader object.
 
Method Summary
 int getEntriesNumber()
          Gets the value of entriesNumber
 int getLength()
          Returns particular VPFHeader length.
 int getRecordSize()
          Method getRecordSize is used to return size in bytes of records stored in this table.
 int getVpfHeaderLen()
          Gets the value of vpfHeaderLen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VARIABLE_INDEX_HEADER_LENGTH

public static final int VARIABLE_INDEX_HEADER_LENGTH
Variable constant VARIABLE_INDEX_HEADER_LENGTH keeps value of

See Also:
Constant Field Values

VARIABLE_INDEX_ROW_SIZE

public static final int VARIABLE_INDEX_ROW_SIZE
Variable constant VARIABLE_INDEX_ROW_SIZE keeps value of

See Also:
Constant Field Values
Constructor Detail

VariableIndexHeader

public VariableIndexHeader(int entriesNumber,
                           int vpfHeaderLen)
Creates a new VariableIndexHeader object.

Parameters:
entriesNumber - DOCUMENT ME!
vpfHeaderLen - DOCUMENT ME!
Method Detail

getLength

public int getLength()
Returns particular VPFHeader length.

Specified by:
getLength in interface VPFHeader
Returns:
an int value of header length.

getRecordSize

public int getRecordSize()
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.

Specified by:
getRecordSize in interface VPFHeader
Returns:
an int value

getEntriesNumber

public int getEntriesNumber()
Gets the value of entriesNumber

Returns:
the value of entriesNumber

getVpfHeaderLen

public int getVpfHeaderLen()
Gets the value of vpfHeaderLen

Returns:
the value of vpfHeaderLen


Copyright © GeoTools. All Rights Reserved.