类 FilePoolNameFunction
- java.lang.Object
-
- proguard.resources.file.util.FilePoolNameFunction
-
- 所有已实现的接口:
StringFunction
- 直接已知子类:
ResourceFilePoolNameFunction
public class FilePoolNameFunction extends java.lang.Object implements StringFunction
ThisStringFunctionmaps resource file names on their (obfuscated) resource file name, as present on theResourceFileobject in the given resource file pool.
-
-
字段概要
-
从接口继承的字段 proguard.util.StringFunction
IDENTITY_FUNCTION
-
-
构造器概要
构造器 构造器 说明 FilePoolNameFunction(FilePool filePool)Creates a new ResourceFileNameFunction based on the given resource file pool.FilePoolNameFunction(FilePool filePool, java.lang.String defaultResourceFileName)Creates a new ResourceFileNameFunction based on the given resource file pool, with a default string for resource files that are not in the resource file pool.
-
-
-
构造器详细资料
-
FilePoolNameFunction
public FilePoolNameFunction(FilePool filePool)
Creates a new ResourceFileNameFunction based on the given resource file pool.
-
FilePoolNameFunction
public FilePoolNameFunction(FilePool filePool, java.lang.String defaultResourceFileName)
Creates a new ResourceFileNameFunction based on the given resource file pool, with a default string for resource files that are not in the resource file pool.
-
-
方法详细资料
-
transform
public java.lang.String transform(java.lang.String string)
从接口复制的说明:StringFunctionTransforms the given string into a new string.- 指定者:
transform在接口中StringFunction
-
-