|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.WordReader
proguard.ArgumentWordReader
public class ArgumentWordReader
A WordReader that returns words from an argument list.
Single arguments are split into individual words if necessary.
| Constructor Summary | |
|---|---|
ArgumentWordReader(java.lang.String[] arguments,
java.io.File baseDir)
Creates a new ArgumentWordReader for the given arguments, with the given base directory. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
lineLocationDescription()
Returns a readable description of the current WordReader position. |
static void |
main(java.lang.String[] args)
Test application that prints out the individual words of the argument list. |
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 |
|---|
close, 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 ArgumentWordReader(java.lang.String[] arguments,
java.io.File baseDir)
| 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 WordReaderpublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||