程序包 proguard
类 LineWordReader
- java.lang.Object
-
- proguard.WordReader
-
- proguard.LineWordReader
-
- 直接已知子类:
FileWordReader
public class LineWordReader extends WordReader
AWordReaderthat returns words from a line number reader.
-
-
构造器概要
构造器 构造器 说明 LineWordReader(java.io.LineNumberReader lineNumberReader, java.lang.String description, java.io.File baseDir)Creates a new LineWordReader for the given input.LineWordReader(java.io.LineNumberReader lineNumberReader, java.lang.String description, java.net.URL baseURL)Creates a new LineWordReader for the given input.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()Closes the FileWordReader.protected java.lang.StringlineLocationDescription()Returns a readable description of the current WordReader position.protected java.lang.StringnextLine()Reads a line from this WordReader, or from one of its active included WordReader objects.-
从类继承的方法 proguard.WordReader
getBaseDir, getBaseURL, includeWordReader, lastComments, locationDescription, nextWord, setBaseDir
-
-
-
-
构造器详细资料
-
LineWordReader
public LineWordReader(java.io.LineNumberReader lineNumberReader, java.lang.String description, java.io.File baseDir) throws java.io.IOExceptionCreates a new LineWordReader for the given input.- 抛出:
java.io.IOException
-
LineWordReader
public LineWordReader(java.io.LineNumberReader lineNumberReader, java.lang.String description, java.net.URL baseURL) throws java.io.IOExceptionCreates a new LineWordReader for the given input.- 抛出:
java.io.IOException
-
-
方法详细资料
-
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.
-
close
public void close() throws java.io.IOException从类复制的说明:WordReaderCloses the FileWordReader.- 覆盖:
close在类中WordReader- 抛出:
java.io.IOException
-
-