public class SpellKeywordTest
extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
indexDir
Directory in which the index (and spelling data) is stored
|
| Constructor and Description |
|---|
SpellKeywordTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Command-line driver.
|
String[] |
split(String in) |
private void |
test(String testFile)
Test the spelling index
|
private String |
testPhrase(String origPhrase,
PrintWriter debugWriter) |
private String indexDir
public static void main(String[] args)
throws IOException
IOExceptionprivate void test(String testFile)
throws IOException
IOExceptionprivate String testPhrase(String origPhrase,
PrintWriter debugWriter)
throws IOException
IOExceptionpublic String[] split(String in)
throws ParseException,
IOException
ParseExceptionIOException