|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.index.DataDefinition
DOCUMENT ME!
Nested Class Summary | |
class |
DataDefinition.Field
Inner class for Data fields |
Constructor Summary | |
DataDefinition(java.lang.String charset)
|
Method Summary | |
void |
addField(java.lang.Class clazz)
Well known classes Short Integer Long Float Double Date |
void |
addField(int len)
For classes with unknown length; this values will be threated as String s and truncated at the specified len |
java.nio.charset.Charset |
getCharset()
DOCUMENT ME! |
int |
getEncodedLen()
Gets the len of this field after the encoding, this method may be different from getLen() only if exists strings in the definition |
DataDefinition.Field |
getField(int i)
|
int |
getFieldsCount()
|
int |
getLen()
Gets the max len of the data |
boolean |
isValid()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataDefinition(java.lang.String charset)
Method Detail |
public final boolean isValid()
public int getFieldsCount()
public DataDefinition.Field getField(int i)
public void addField(java.lang.Class clazz)
clazz
-
TreeException
- DOCUMENT ME!public void addField(int len)
String
s and truncated at the specified len
len
- public java.nio.charset.Charset getCharset()
public int getLen()
public int getEncodedLen()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |