程序包 proguard

类 ProGuard


  • public class ProGuard
    extends java.lang.Object
    Tool for shrinking, optimizing, obfuscating, and preverifying Java classes.
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static java.lang.String VERSION  
    • 构造器概要

      构造器 
      构造器 说明
      ProGuard​(Configuration configuration)
      Creates a new ProGuard object to process jars as specified by the given configuration.
    • 方法概要

      所有方法 静态方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void execute()
      Performs all subsequent ProGuard operations.
      static java.lang.String getVersion()
      Returns the implementation version from the manifest.
      static void main​(java.lang.String[] args)
      The main method for ProGuard.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • VERSION

        public static final java.lang.String VERSION
    • 构造器详细资料

      • ProGuard

        public ProGuard​(Configuration configuration)
        Creates a new ProGuard object to process jars as specified by the given configuration.
    • 方法详细资料

      • execute

        public void execute()
                     throws java.lang.Exception
        Performs all subsequent ProGuard operations.
        抛出:
        java.lang.Exception
      • getVersion

        public static java.lang.String getVersion()
        Returns the implementation version from the manifest.
      • main

        public static void main​(java.lang.String[] args)
        The main method for ProGuard.