| 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.
|
public 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 © 2014. All rights reserved.