org.opengts.extra.shapefile
Class Field
java.lang.Object
org.opengts.extra.shapefile.Field
public class Field
- extends java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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)
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)