org.opengts.extra.shapefile
Class Field

java.lang.Object
  extended by org.opengts.extra.shapefile.Field

public class Field
extends java.lang.Object


Field Summary
static int DATATYPE_BOOLEAN
           
static int DATATYPE_DATE
           
static int DATATYPE_DOUBLE
           
static int DATATYPE_FLOAT
           
static int DATATYPE_MEMO
           
static int DATATYPE_STRING
           
static int DATATYPE_TIMESTAMP
           
 
Constructor Summary
Field(Payload p)
           
Field(java.lang.String name, int len)
           
Field(java.lang.String name, int type, int len, int dec, int waid, int flags, int ndx)
           
 
Method Summary
 int getDataType()
           
 int getDecimal()
           
 int getFlags()
           
 int getIndex()
           
 int getLength()
           
 java.lang.String getName()
           
 int getWorkAreaID()
           
 java.lang.String toString()
           
 Payload write(Payload p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATATYPE_STRING

public static final int DATATYPE_STRING
See Also:
Constant Field Values

DATATYPE_DATE

public static final int DATATYPE_DATE
See Also:
Constant Field Values

DATATYPE_FLOAT

public static final int DATATYPE_FLOAT
See Also:
Constant Field Values

DATATYPE_DOUBLE

public static final int DATATYPE_DOUBLE
See Also:
Constant Field Values

DATATYPE_BOOLEAN

public static final int DATATYPE_BOOLEAN
See Also:
Constant Field Values

DATATYPE_MEMO

public static final int DATATYPE_MEMO
See Also:
Constant Field Values

DATATYPE_TIMESTAMP

public static final int DATATYPE_TIMESTAMP
See Also:
Constant Field Values
Constructor Detail

Field

public Field(Payload p)

Field

public Field(java.lang.String name,
             int type,
             int len,
             int dec,
             int waid,
             int flags,
             int ndx)

Field

public Field(java.lang.String name,
             int len)
Method Detail

getName

public java.lang.String getName()

getDataType

public int getDataType()

getLength

public int getLength()

getDecimal

public int getDecimal()

getWorkAreaID

public int getWorkAreaID()

getFlags

public int getFlags()

getIndex

public int getIndex()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

write

public Payload write(Payload p)