com.ibm.icu.text
public class BreakDictionary extends java.lang.Object
Constructor and Description |
---|
BreakDictionary(java.io.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(java.lang.String[] args)
Deprecated.
This API is ICU internal only.
|
void |
printWordList(java.lang.String partialWord,
int state,
java.io.PrintWriter out)
Deprecated.
This API is ICU internal only.
|
void |
readDictionaryFile(java.io.DataInputStream in)
Deprecated.
This API is ICU internal only.
|
public BreakDictionary(java.io.InputStream dictionaryStream) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException, java.io.IOException
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
java.io.IOException
public void printWordList(java.lang.String partialWord, int state, java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
public void readDictionaryFile(java.io.DataInputStream in) throws java.io.IOException
java.io.IOException
public 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.