|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dict.common.DictType
public class DictType
Enumeration of dictionary types.
Field Summary | |
---|---|
static int |
DEFAULT
Default dictionary type. |
static int |
DICTCC
dict.cc dictionary type. |
static java.lang.String |
ENCODING
|
static java.lang.String[] |
NAMES
Names for dictionary types. |
static int |
THES
Polish and German thesaurus. |
static int |
UDDL
UDDL text file dictionary type. |
Constructor Summary | |
---|---|
DictType()
|
Method Summary | |
---|---|
static int |
fromString(java.lang.String aTypeName)
Converts the given name into the valid dictionary type ID. |
static java.lang.String |
toString(int aType)
Converts the given type to a string value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ENCODING
public static final java.lang.String[] NAMES
public static final int DICTCC
public static final int UDDL
public static final int THES
public static final int DEFAULT
Constructor Detail |
---|
public DictType()
Method Detail |
---|
public static java.lang.String toString(int aType)
aType
- the type id, eg. DICTCC, UDDL or THES.
public static int fromString(java.lang.String aTypeName)
aTypeName
- the name for the type, one of NAMES.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |