| Home >> All >> java >> util >> [ jar Javadoc ] |
java.util.jar: Javadoc index of package java.util.jar.
Package Samples:
java.util.jar
Classes:
Attributes: Represents attribute name/value pairs from a Manifest as a Map. The names of an attribute are represented by the Attributes.Name class and should confirm to the restrictions described in that class. Note that the Map interface that Attributes implements allows you to put names and values into the attribute that don't follow these restriction (and are not really Atrribute.Names, but if you do that it might cause undefined behaviour later). If you use the constants defined in the inner class Name then you can be sure that you always access the right attribute names. This makes manipulating the Attributes ...
JarEntry: Extension to a ZipEntry that contains manifest attributes and certificates. Both the Atrributes and the Certificates can be null when not set. Note that the getCertificates() method only returns a valid value after all of the data of the entry has been read. There are no public methods to set the attributes or certificate of an Entru. Only JarEntries created by the classes in java.util.jar will have these properties set.
JarException: This exception is thrown to indicate an problem with a jar file. Note that none of the methods in the java.util.jar package actually declare to throw this exception, most just declare that they throw an IOException which is super class of JarException.
JarFile: Representation of a jar file. Note that this class is not a subclass of java.io.File but a subclass of java.util.zip.ZipFile and you can only read JarFiles with it (although there are constructors that take a File object).
JarOutputStream: OutputStream for writing jar files. A special ZipOutputStream that can take JarEntries and can have a optional Manifest as first entry.
JarInputStream: InputStream for reading jar files. XXX - verification of the signatures in the Manifest file is not yet implemented.
Manifest: Reads, writes and manipulaties jar manifest files. XXX
| Home | Contact Us | Privacy Policy | Terms of Service |