|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.WordReader
proguard.FileWordReader
public class FileWordReader
A WordReader that returns words from a file or a URL.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the FileWordReader. |
protected java.lang.String |
lineLocationDescription()
Returns a readable description of the current WordReader position. |
protected java.lang.String |
nextLine()
Reads a line from this WordReader, or from one of its active included WordReader objects. |
| Methods inherited from class proguard.WordReader |
|---|
getBaseDir, includeWordReader, lastComments, locationDescription, nextWord, setBaseDir |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileWordReader(java.io.File file)
throws java.io.IOException
java.io.IOException
public FileWordReader(java.net.URL url)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
protected java.lang.String nextLine()
throws java.io.IOException
WordReader
nextLine in class WordReaderjava.io.IOExceptionprotected java.lang.String lineLocationDescription()
WordReader
lineLocationDescription in class WordReader
public void close()
throws java.io.IOException
WordReader
close in class WordReaderjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||