程序包 proguard.io
类 FileSource
java.lang.Object
proguard.io.FileSource
- 所有已实现的接口:
DataEntrySource
This DataEntrySource wraps a single given file or
DataEntry.-
构造器概要
构造器构造器说明FileSource(File file) Creates a new FileSource.FileSource(File directory, File file) Creates a new FileSource.FileSource(FileDataEntry fileDataEntry) Creates a new FileSource. -
方法概要
修饰符和类型方法说明voidpumpDataEntries(DataEntryReader dataEntryReader) Applies the given DataEntryReader to all data entries that the implementation can provide.
-
构造器详细资料
-
FileSource
Creates a new FileSource.- 参数:
file- the the absolute or relative location of the file.
-
FileSource
Creates a new FileSource.- 参数:
directory- the base directory for the file.file- the the absolute or relative location of the file.
-
FileSource
Creates a new FileSource.- 参数:
fileDataEntry- the file data entry.
-
-
方法详细资料
-
pumpDataEntries
从接口复制的说明:DataEntrySourceApplies the given DataEntryReader to all data entries that the implementation can provide.- 指定者:
pumpDataEntries在接口中DataEntrySource- 抛出:
IOException
-