程序包 proguard.io
类 FileSource
- java.lang.Object
-
- proguard.io.FileSource
-
- 所有已实现的接口:
DataEntrySource
public class FileSource extends java.lang.Object implements DataEntrySource
This DataEntrySource wraps a single given file orDataEntry.
-
-
构造器概要
构造器 构造器 说明 FileSource(java.io.File file)Creates a new FileSource.FileSource(java.io.File directory, java.io.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
public FileSource(java.io.File file)
Creates a new FileSource.- 参数:
file- the the absolute or relative location of the file.
-
FileSource
public FileSource(java.io.File directory, java.io.File file)Creates a new FileSource.- 参数:
directory- the base directory for the file.file- the the absolute or relative location of the file.
-
FileSource
public FileSource(FileDataEntry fileDataEntry)
Creates a new FileSource.- 参数:
fileDataEntry- the file data entry.
-
-
方法详细资料
-
pumpDataEntries
public void pumpDataEntries(DataEntryReader dataEntryReader) throws java.io.IOException
从接口复制的说明:DataEntrySourceApplies the given DataEntryReader to all data entries that the implementation can provide.- 指定者:
pumpDataEntries在接口中DataEntrySource- 抛出:
java.io.IOException
-
-