com.ibm.icu.text
public class BreakDictionary extends Object
| Constructor and Description |
|---|
BreakDictionary(InputStream dictionaryStream)
Deprecated.
This API is ICU internal only.
|
| Modifier and Type | Method and Description |
|---|---|
short |
at(int row,
char ch)
Deprecated.
This API is ICU internal only.
|
short |
at(int row,
int col)
Deprecated.
This API is ICU internal only.
|
static void |
main(String[] args)
Deprecated.
This API is ICU internal only.
|
void |
printWordList(String partialWord,
int state,
PrintWriter out)
Deprecated.
This API is ICU internal only.
|
void |
readDictionaryFile(DataInputStream in)
Deprecated.
This API is ICU internal only.
|
public BreakDictionary(InputStream dictionaryStream) throws IOException
IOExceptionpublic static void main(String[] args) throws FileNotFoundException, UnsupportedEncodingException, IOException
FileNotFoundExceptionUnsupportedEncodingExceptionIOExceptionpublic void printWordList(String partialWord, int state, PrintWriter out) throws IOException
IOExceptionpublic void readDictionaryFile(DataInputStream in) throws IOException
IOExceptionpublic final short at(int row,
char ch)
row - The current statech - The character whose column we're interested inpublic final short at(int row,
int col)
row - The row number of the current statecol - The column number of the input character (0 means "not a
dictionary character")Copyright (c) 2009 IBM Corporation and others.