程序包 proguard
类 ArgumentWordReader
- java.lang.Object
-
- proguard.WordReader
-
- proguard.ArgumentWordReader
-
public class ArgumentWordReader extends WordReader
AWordReaderthat returns words from an argument list. Single arguments are split into individual words if necessary.
-
-
构造器概要
构造器 构造器 说明 ArgumentWordReader(java.lang.String[] arguments, java.io.File baseDir)Creates a new ArgumentWordReader for the given arguments, with the given base directory.
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected java.lang.StringlineLocationDescription()Returns a readable description of the current WordReader position.static voidmain(java.lang.String[] args)Test application that prints out the individual words of the argument list.protected java.lang.StringnextLine()Reads a line from this WordReader, or from one of its active included WordReader objects.-
从类继承的方法 proguard.WordReader
close, getBaseDir, getBaseURL, includeWordReader, lastComments, locationDescription, nextWord, setBaseDir
-
-
-
-
方法详细资料
-
nextLine
protected java.lang.String nextLine() throws java.io.IOException从类复制的说明:WordReaderReads a line from this WordReader, or from one of its active included WordReader objects.- 指定者:
nextLine在类中WordReader- 返回:
- the read line.
- 抛出:
java.io.IOException
-
lineLocationDescription
protected java.lang.String lineLocationDescription()
从类复制的说明:WordReaderReturns a readable description of the current WordReader position.- 指定者:
lineLocationDescription在类中WordReader- 返回:
- the description.
-
main
public static void main(java.lang.String[] args)
Test application that prints out the individual words of the argument list.
-
-