Package proguard.resources.file.util
Class FilePoolNameFunction
java.lang.Object
proguard.resources.file.util.FilePoolNameFunction
- All Implemented Interfaces:
StringFunction
- Direct Known Subclasses:
ResourceFilePoolNameFunction
This
StringFunction maps resource file names on their (obfuscated) resource file name, as
present on the ResourceFile object in the given resource file pool.-
Field Summary
Fields inherited from interface proguard.util.StringFunction
IDENTITY_FUNCTION -
Constructor Summary
ConstructorsConstructorDescriptionFilePoolNameFunction(FilePool filePool) Creates a new ResourceFileNameFunction based on the given resource file pool.FilePoolNameFunction(FilePool filePool, 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. -
Method Summary
-
Constructor Details
-
FilePoolNameFunction
Creates a new ResourceFileNameFunction based on the given resource file pool. -
FilePoolNameFunction
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.
-
-
Method Details
-
transform
Description copied from interface:StringFunctionTransforms the given string into a new string.- Specified by:
transformin interfaceStringFunction
-