| Constructor and Description |
|---|
WordIterator(InputStream stream,
String charsetName)
Load the directory from plain a list of words.
|
WordIterator(Reader reader)
Load the directory from plain a list of words.
|
WordIterator(URL filename)
Load the directory from a compressed list of words with UTF8 encoding.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
String |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic WordIterator(URL filename) throws IOException
filename - the name of the fileIOException - If an I/O error occurs.NullPointerException - If filename is null.public WordIterator(InputStream stream, String charsetName) throws IOException
stream - a InputStream with wordscharsetName - the name of a codepage for example "UTF8" or "Cp1252"IOException - If an I/O error occurs.NullPointerException - If stream or charsetName is null.public WordIterator(Reader reader) throws IOException
reader - a Reader with wordsIOException - If an I/O error occurs.NullPointerException - If reader is null.Copyright © 2016. All rights reserved.