src/java.base/share/classes/java/util/jar/Attributes.java

Print this page




 554         /**
 555          * <code>Name</code> object for <code>Main-Class</code> manifest
 556          * attribute used for launching applications packaged in JAR files.
 557          * The <code>Main-Class</code> attribute is used in conjunction
 558          * with the <code>-jar</code> command-line option of the
 559          * <tt>java</tt> application launcher.
 560          */
 561         public static final Name MAIN_CLASS = new Name("Main-Class");
 562 
 563         /**
 564          * <code>Name</code> object for <code>Sealed</code> manifest attribute
 565          * used for sealing.
 566          * @see <a href="../../../../technotes/guides/extensions/spec.html#sealing">
 567          *      Extension Sealing</a>
 568          */
 569         public static final Name SEALED = new Name("Sealed");
 570 
 571        /**
 572          * <code>Name</code> object for <code>Extension-List</code> manifest attribute
 573          * used for declaring dependencies on installed extensions.
 574          * @see <a href="../../../../technotes/guides/extensions/spec.html#dependency">
 575          *      Installed extension dependency</a>

 576          */

 577         public static final Name EXTENSION_LIST = new Name("Extension-List");
 578 
 579         /**
 580          * <code>Name</code> object for <code>Extension-Name</code> manifest attribute
 581          * used for declaring dependencies on installed extensions.
 582          * @see <a href="../../../../technotes/guides/extensions/spec.html#dependency">
 583          *      Installed extension dependency</a>
 584          */

 585         public static final Name EXTENSION_NAME = new Name("Extension-Name");
 586 
 587         /**
 588          * <code>Name</code> object for <code>Extension-Name</code> manifest attribute
 589          * used for declaring dependencies on installed extensions.
 590          * @see <a href="../../../../technotes/guides/extensions/spec.html#dependency">
 591          *      Installed extension dependency</a>
 592          */

 593         public static final Name EXTENSION_INSTALLATION = new Name("Extension-Installation");
 594 
 595         /**
 596          * <code>Name</code> object for <code>Implementation-Title</code>
 597          * manifest attribute used for package versioning.
 598          * @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779">
 599          *      Java Product Versioning Specification</a>
 600          */
 601         public static final Name IMPLEMENTATION_TITLE = new Name("Implementation-Title");
 602 
 603         /**
 604          * <code>Name</code> object for <code>Implementation-Version</code>
 605          * manifest attribute used for package versioning.
 606          * @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779">
 607          *      Java Product Versioning Specification</a>
 608          */
 609         public static final Name IMPLEMENTATION_VERSION = new Name("Implementation-Version");
 610 
 611         /**
 612          * <code>Name</code> object for <code>Implementation-Vendor</code>
 613          * manifest attribute used for package versioning.
 614          * @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779">
 615          *      Java Product Versioning Specification</a>
 616          */
 617         public static final Name IMPLEMENTATION_VENDOR = new Name("Implementation-Vendor");
 618 
 619         /**
 620          * <code>Name</code> object for <code>Implementation-Vendor-Id</code>
 621          * manifest attribute used for package versioning.
 622          * @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779">
 623          *      Java Product Versioning Specification</a>
 624          */
 625         public static final Name IMPLEMENTATION_VENDOR_ID = new Name("Implementation-Vendor-Id");
 626 
 627        /**
 628          * <code>Name</code> object for <code>Implementation-URL</code>
 629          * manifest attribute used for package versioning.
 630          * @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779">
 631          *      Java Product Versioning Specification</a>
 632          */

 633         public static final Name IMPLEMENTATION_URL = new Name("Implementation-URL");
 634 
 635         /**
 636          * <code>Name</code> object for <code>Specification-Title</code>
 637          * manifest attribute used for package versioning.
 638          * @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779">
 639          *      Java Product Versioning Specification</a>
 640          */
 641         public static final Name SPECIFICATION_TITLE = new Name("Specification-Title");
 642 
 643         /**
 644          * <code>Name</code> object for <code>Specification-Version</code>
 645          * manifest attribute used for package versioning.
 646          * @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779">
 647          *      Java Product Versioning Specification</a>
 648          */
 649         public static final Name SPECIFICATION_VERSION = new Name("Specification-Version");
 650 
 651         /**
 652          * <code>Name</code> object for <code>Specification-Vendor</code>
 653          * manifest attribute used for package versioning.
 654          * @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779">
 655          *      Java Product Versioning Specification</a>
 656          */
 657         public static final Name SPECIFICATION_VENDOR = new Name("Specification-Vendor");
 658     }
 659 }


 554         /**
 555          * <code>Name</code> object for <code>Main-Class</code> manifest
 556          * attribute used for launching applications packaged in JAR files.
 557          * The <code>Main-Class</code> attribute is used in conjunction
 558          * with the <code>-jar</code> command-line option of the
 559          * <tt>java</tt> application launcher.
 560          */
 561         public static final Name MAIN_CLASS = new Name("Main-Class");
 562 
 563         /**
 564          * <code>Name</code> object for <code>Sealed</code> manifest attribute
 565          * used for sealing.
 566          * @see <a href="../../../../technotes/guides/extensions/spec.html#sealing">
 567          *      Extension Sealing</a>
 568          */
 569         public static final Name SEALED = new Name("Sealed");
 570 
 571        /**
 572          * <code>Name</code> object for <code>Extension-List</code> manifest attribute
 573          * used for declaring dependencies on installed extensions.
 574          *
 575          * @deprecated Extension mechanism is no longer supported. Applets should
 576          *             use {@link #CLASS_PATH} instead.
 577          */
 578         @Deprecated
 579         public static final Name EXTENSION_LIST = new Name("Extension-List");
 580 
 581         /**
 582          * <code>Name</code> object for <code>Extension-Name</code> manifest attribute
 583          * used for declaring dependencies on installed extensions.
 584          *
 585          * @deprecated Extension mechanism is no longer supported.
 586          */
 587         @Deprecated
 588         public static final Name EXTENSION_NAME = new Name("Extension-Name");
 589 
 590         /**
 591          * <code>Name</code> object for <code>Extension-Name</code> manifest attribute
 592          * used for declaring dependencies on installed extensions.
 593          *
 594          * @deprecated Extension mechanism is no longer supported.
 595          */
 596         @Deprecated
 597         public static final Name EXTENSION_INSTALLATION = new Name("Extension-Installation");
 598 
 599         /**
 600          * <code>Name</code> object for <code>Implementation-Title</code>
 601          * manifest attribute used for package versioning.


 602          */
 603         public static final Name IMPLEMENTATION_TITLE = new Name("Implementation-Title");
 604 
 605         /**
 606          * <code>Name</code> object for <code>Implementation-Version</code>
 607          * manifest attribute used for package versioning.


 608          */
 609         public static final Name IMPLEMENTATION_VERSION = new Name("Implementation-Version");
 610 
 611         /**
 612          * <code>Name</code> object for <code>Implementation-Vendor</code>
 613          * manifest attribute used for package versioning.


 614          */
 615         public static final Name IMPLEMENTATION_VENDOR = new Name("Implementation-Vendor");
 616 
 617         /**
 618          * <code>Name</code> object for <code>Implementation-Vendor-Id</code>
 619          * manifest attribute used for package versioning.


 620          */
 621         public static final Name IMPLEMENTATION_VENDOR_ID = new Name("Implementation-Vendor-Id");
 622 
 623        /**
 624          * <code>Name</code> object for <code>Implementation-URL</code>
 625          * manifest attribute used for package versioning.
 626          *
 627          * @deprecated Extension mechanism is no longer supported.
 628          */
 629         @Deprecated
 630         public static final Name IMPLEMENTATION_URL = new Name("Implementation-URL");
 631 
 632         /**
 633          * <code>Name</code> object for <code>Specification-Title</code>
 634          * manifest attribute used for package versioning.


 635          */
 636         public static final Name SPECIFICATION_TITLE = new Name("Specification-Title");
 637 
 638         /**
 639          * <code>Name</code> object for <code>Specification-Version</code>
 640          * manifest attribute used for package versioning.


 641          */
 642         public static final Name SPECIFICATION_VERSION = new Name("Specification-Version");
 643 
 644         /**
 645          * <code>Name</code> object for <code>Specification-Vendor</code>
 646          * manifest attribute used for package versioning.


 647          */
 648         public static final Name SPECIFICATION_VENDOR = new Name("Specification-Vendor");
 649     }
 650 }