Package proguard.util

Class MapStringFunction

java.lang.Object
proguard.util.MapStringFunction
All Implemented Interfaces:
StringFunction

public class MapStringFunction extends Object implements StringFunction
This StringFunction gets its transformed strings from a given map.
  • Constructor Details

    • MapStringFunction

      public MapStringFunction(Map map)
      Creates a new MapStringFunction based on the given map.
    • MapStringFunction

      public MapStringFunction(Map map, String defaultString)
      Creates a new MapStringFunction based on the given map, with a default string for strings that are not in the map.
  • Method Details