程序包 proguard.util

类 SuffixRemovingStringFunction

  • 所有已实现的接口:
    StringFunction

    public class SuffixRemovingStringFunction
    extends java.lang.Object
    implements StringFunction
    This StringFunction removes a given suffix from each transformed String, if present.
    • 构造器概要

      构造器 
      构造器 说明
      SuffixRemovingStringFunction​(java.lang.String suffix)
      Creates a new SuffixRemovingStringFunction.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.String transform​(java.lang.String string)
      Transforms the given string into a new string.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • SuffixRemovingStringFunction

        public SuffixRemovingStringFunction​(java.lang.String suffix)
        Creates a new SuffixRemovingStringFunction.
        参数:
        suffix - the suffix to remove from each string.
    • 方法详细资料

      • transform

        public java.lang.String transform​(java.lang.String string)
        从接口复制的说明: StringFunction
        Transforms the given string into a new string.
        指定者:
        transform 在接口中 StringFunction