src/java.base/share/classes/sun/misc/ExtensionInfo.java

Print this page




  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.misc;
  27 
  28 import java.util.StringTokenizer;
  29 import java.util.jar.Attributes;
  30 import java.util.jar.Attributes.Name;
  31 import java.util.ResourceBundle;
  32 import java.util.MissingResourceException;
  33 import java.text.MessageFormat;
  34 import java.lang.Character.*;
  35 
  36 
  37 /**
  38  * This class holds all necessary information to install or
  39  * upgrade a extension on the user's disk
  40  *

  41  * @author  Jerome Dochez
  42  */

  43 public class ExtensionInfo {
  44 
  45     /**
  46      * <p>
  47      * public static values returned by the isCompatible method
  48      * </p>
  49      */
  50     public static final int COMPATIBLE = 0;
  51     public static final int REQUIRE_SPECIFICATION_UPGRADE = 1;
  52     public static final int REQUIRE_IMPLEMENTATION_UPGRADE = 2;
  53     public static final int REQUIRE_VENDOR_SWITCH = 3;
  54     public static final int INCOMPATIBLE = 4;
  55 
  56     /**
  57      * <p>
  58      * attributes fully describer an extension. The underlying described
  59      * extension may be installed and requested.
  60      * <p>
  61      */
  62     public String title;




  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.misc;
  27 
  28 import java.util.StringTokenizer;
  29 import java.util.jar.Attributes;
  30 import java.util.jar.Attributes.Name;
  31 import java.util.ResourceBundle;
  32 import java.util.MissingResourceException;
  33 import java.text.MessageFormat;
  34 import java.lang.Character.*;
  35 
  36 
  37 /**
  38  * This class holds all necessary information to install or
  39  * upgrade a extension on the user's disk
  40  *
  41  * @deprecated this class will be removed in a future release.
  42  * @author  Jerome Dochez
  43  */
  44 @Deprecated
  45 public class ExtensionInfo {
  46 
  47     /**
  48      * <p>
  49      * public static values returned by the isCompatible method
  50      * </p>
  51      */
  52     public static final int COMPATIBLE = 0;
  53     public static final int REQUIRE_SPECIFICATION_UPGRADE = 1;
  54     public static final int REQUIRE_IMPLEMENTATION_UPGRADE = 2;
  55     public static final int REQUIRE_VENDOR_SWITCH = 3;
  56     public static final int INCOMPATIBLE = 4;
  57 
  58     /**
  59      * <p>
  60      * attributes fully describer an extension. The underlying described
  61      * extension may be installed and requested.
  62      * <p>
  63      */
  64     public String title;