public class FilePoolNameFunction extends java.lang.Object implements StringFunction
StringFunction
maps resource file names on their (obfuscated) resource file name, as
present on the ResourceFile
object in the given resource file pool.IDENTITY_FUNCTION
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
transform(java.lang.String string)
Transforms the given string into a new string.
|
public FilePoolNameFunction(FilePool filePool)
public FilePoolNameFunction(FilePool filePool, java.lang.String defaultResourceFileName)
public java.lang.String transform(java.lang.String string)
StringFunction
transform
in interface StringFunction