public class FileWordReader extends LineWordReader
WordReader that returns words from a file or a URL.| Constructor and Description |
|---|
FileWordReader(java.io.File file)
Creates a new FileWordReader for the given file.
|
FileWordReader(java.net.URL url)
Creates a new FileWordReader for the given URL.
|
close, lineLocationDescription, nextLinegetBaseDir, getBaseURL, includeWordReader, lastComments, locationDescription, nextWord, setBaseDirpublic FileWordReader(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic FileWordReader(java.net.URL url)
throws java.io.IOException
java.io.IOException