类 ResourceFile
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.util.SimpleFeatureNamedProcessable
-
- proguard.resources.file.ResourceFile
-
- 所有已实现的接口:
java.io.Serializable,FeatureNamed,Processable
- 直接已知子类:
KotlinModule
public class ResourceFile extends SimpleFeatureNamedProcessable
Representation of a resource file in an application.- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 java.lang.StringfileNamelongfileSizejava.util.Set<ResourceJavaReference>references-
从类继承的字段 proguard.util.SimpleFeatureNamedProcessable
extraFeatureNames, featureName
-
从类继承的字段 proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
构造器概要
构造器 构造器 说明 ResourceFile(java.lang.String fileName, long fileSize)Creates a newResourceFile.ResourceFile(java.lang.String fileName, long fileSize, int processingFlags)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaccept(ResourceFileVisitor resourceFileVisitor)java.lang.StringgetFileName()Returns the file name.longgetFileSize()Returns the file size.java.lang.StringtoString()-
从类继承的方法 proguard.util.SimpleFeatureNamedProcessable
addExtraFeatureName, getExtraFeatureNames, getFeatureName, isInFeature, setFeatureName
-
从类继承的方法 proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 proguard.util.Processable
accept
-
-
-
-
字段详细资料
-
fileName
public java.lang.String fileName
-
fileSize
public long fileSize
-
references
public java.util.Set<ResourceJavaReference> references
-
-
构造器详细资料
-
ResourceFile
public ResourceFile(java.lang.String fileName, long fileSize)Creates a newResourceFile.- 参数:
fileName- the name of the resource file.fileSize- the size of the resource file.
-
ResourceFile
public ResourceFile(java.lang.String fileName, long fileSize, int processingFlags)
-
-
方法详细资料
-
getFileName
public java.lang.String getFileName()
Returns the file name.
-
getFileSize
public long getFileSize()
Returns the file size.
-
accept
public void accept(ResourceFileVisitor resourceFileVisitor)
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-