|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.WordReader
proguard.FileWordReader
A WordReader that returns words from a file or a URL.
| Constructor Summary | |
FileWordReader(String fileName)
Creates a new FileWordReader for the given file name. |
|
FileWordReader(URL url)
Creates a new FileWordReader for the given URL. |
|
| Method Summary | |
void |
close()
Closes the FileWordReader. |
protected String |
lineLocationDescription()
Constructs a readable description of the current WordReader position. |
protected String |
nextLine()
Reads a line from this WordReader, or from one of its active included WordReader objects. |
| Methods inherited from class proguard.WordReader |
includeWordReader, lastComments, locationDescription, nextWord |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileWordReader(String fileName)
throws IOException
public FileWordReader(URL url)
throws IOException
| Method Detail |
public void close()
throws IOException
IOException
protected String nextLine()
throws IOException
WordReader
nextLine in class WordReaderIOExceptionprotected String lineLocationDescription()
WordReader
lineLocationDescription in class WordReader
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||