|
|||||||||
| Home >> All >> java >> util >> [ jar overview ] | PREV NEXT | ||||||||
A
- Attributes - class java.util.jar.Attributes.
- Represents attribute name/value pairs from a Manifest as a Map.
- Attributes() - Constructor for class java.util.jar.Attributes
- Creates an empty Attributes map.
- Attributes(int) - Constructor for class java.util.jar.Attributes
- Creates an empty Attributes map with the given initial size.
- Attributes(Attributes) - Constructor for class java.util.jar.Attributes
- Creates an Attributes map with the initial values taken from another Attributes map.
- Attributes.Name - class java.util.jar.Attributes.Name.
- Represents a name of a Manifest Attribute.
- Attributes.Name(String) - Constructor for class java.util.jar.Attributes.Name
- Creates a new Name from the given String.
- attr - Variable in class java.util.jar.JarEntry
C
- CLASS_PATH - Static variable in class java.util.jar.Attributes.Name
- General main attribute - (relative) file paths of the libraries/classpaths that the Classes in this jar file depend on.
- CONTENT_TYPE - Static variable in class java.util.jar.Attributes.Name
- File contents attribute - Mime type and subtype for the jar entry.
- certs - Variable in class java.util.jar.JarEntry
- checked - Variable in class java.util.jar.JarFile.EntryInputStream
- clear() - Method in class java.util.jar.Attributes
- Removes all attributes.
- clear() - Method in class java.util.jar.Manifest
- Clears the main attributes and removes all the entries from the manifest.
- clone() - Method in class java.util.jar.Attributes
- Return a clone of this attribute map.
- clone() - Method in class java.util.jar.Manifest
- Makes a deep copy of the main attributes, but a shallow copy of the other entries.
- containsKey(Object) - Method in class java.util.jar.Attributes
- Checks to see if there is an attribute with the specified name.
- containsValue(Object) - Method in class java.util.jar.Attributes
- Checks to see if there is an attribute name with the specified value.
- createZipEntry(String) - Method in class java.util.jar.JarInputStream
- Creates a JarEntry for a particular name and consults the manifest for the Attributes of the entry.
D
- DEBUG - Static variable in class java.util.jar.JarFile
- DIGEST_KEY_SUFFIX - Static variable in class java.util.jar.JarFile
- The suffix for digest attributes.
- DSA_ENCRYPTION_OID - Static variable in class java.util.jar.JarFile
- debug(Object) - Static method in class java.util.jar.JarFile
E
- EXTENSION_INSTALLATION - Static variable in class java.util.jar.Attributes.Name
- Extension identification attribute -
synonym for
EXTENSTION_NAME. - EXTENSION_LIST - Static variable in class java.util.jar.Attributes.Name
- Applet attribute - a list of extension libraries that the applet in this jar file depends on.
- EXTENSION_NAME - Static variable in class java.util.jar.Attributes.Name
- Extension identification attribute - the name if the extension library contained in the jar.
- entries - Variable in class java.util.jar.JarFile.JarEnumeration
- entries() - Method in class java.util.jar.JarFile
- Returns a enumeration of all the entries in the JarFile.
- entries - Variable in class java.util.jar.Manifest
- A map of atrributes for all entries described in this Manifest.
- entry - Variable in class java.util.jar.JarFile.EntryInputStream
- entryCerts - Variable in class java.util.jar.JarFile
- A mapping from entry name to certificates, if any.
- entrySet() - Method in class java.util.jar.Attributes
- Gives a Set of attribute name and values pairs as MapEntries.
- eof() - Method in class java.util.jar.JarFile.EntryInputStream
- equals(Object) - Method in class java.util.jar.Attributes.Name
- Checks if another object is equal to this Name object.
- equals(Object) - Method in class java.util.jar.Attributes
- Checks to see if two Attributes are equal.
- equals(Object) - Method in class java.util.jar.Manifest
- Checks if another object is equal to this Manifest object.
F
- firstEntry - Variable in class java.util.jar.JarInputStream
- The first real JarEntry for this file.
G
- get(Object) - Method in class java.util.jar.Attributes
- Gets the value of a specified attribute name.
- getAttributes() - Method in class java.util.jar.JarEntry
- Returns a copy of the Attributes set for this entry.
- getAttributes(String) - Method in class java.util.jar.Manifest
- Returns the Attributes associated with the Entry.
- getCertificates() - Method in class java.util.jar.JarEntry
- Returns a copy of the certificates set for this entry.
- getEntries() - Method in class java.util.jar.Manifest
- Gets a map of entry Strings to Attributes for all the entries described in this manifest.
- getEntry(String) - Method in class java.util.jar.JarFile
- XXX It actually returns a JarEntry not a zipEntry
- getInputStream(ZipEntry) - Method in class java.util.jar.JarFile
- Returns an input stream for the given entry.
- getJarEntry(String) - Method in class java.util.jar.JarFile
- Returns the JarEntry that belongs to the name if such an entry exists in the JarFile.
- getMainAttributes() - Method in class java.util.jar.Manifest
- Gets the main attributes of this Manifest.
- getManifest() - Method in class java.util.jar.JarFile
- Returns the manifest for this JarFile or null when the JarFile does not contain a manifest file.
- getManifest() - Method in class java.util.jar.JarInputStream
- Returns the Manifest for the jar file or null if there was no Manifest.
- getNextEntry() - Method in class java.util.jar.JarInputStream
- Returns the next entry or null when there are no more entries.
- getNextJarEntry() - Method in class java.util.jar.JarInputStream
- Returns the next jar entry or null when there are no more entries.
- getValue(String) - Method in class java.util.jar.Attributes
- Gets the value of an attribute name given as a String.
- getValue(Attributes.Name) - Method in class java.util.jar.Attributes
- Gets the value of the given attribute name.
H
- hasMoreElements() - Method in class java.util.jar.JarFile.JarEnumeration
- hashCode() - Method in class java.util.jar.Attributes.Name
- Returns the hash code of the (lowercase) String representation of this Name.
- hashCode() - Method in class java.util.jar.Attributes
- Returns the hashcode of the attribute name/value map.
- hashCode() - Method in class java.util.jar.Manifest
- Calculates the hash code of the manifest.
- hashes - Variable in class java.util.jar.JarFile.EntryInputStream
I
- IMPLEMENTATION_TITLE - Static variable in class java.util.jar.Attributes.Name
- Package versioning - name of extension library contained in this jar.
- IMPLEMENTATION_URL - Static variable in class java.util.jar.Attributes.Name
- Package versioning - location where this implementation can be downloaded.
- IMPLEMENTATION_VENDOR - Static variable in class java.util.jar.Attributes.Name
- Package versioning - name of extension library creator contained in this jar.
- IMPLEMENTATION_VENDOR_ID - Static variable in class java.util.jar.Attributes.Name
- Package versioning - unique id of extension library creator.
- IMPLEMENTATION_VERSION - Static variable in class java.util.jar.Attributes.Name
- Package versioning - version of the extension library contained in this jar.
- isEmpty() - Method in class java.util.jar.Attributes
- Returns true if there are no attributes set, false otherwise.
J
- JarEntry - class java.util.jar.JarEntry.
- Extension to a ZipEntry that contains manifest attributes and certificates.
- JarEntry(String) - Constructor for class java.util.jar.JarEntry
- Creates a new JarEntry with the specified name and no attributes or or certificates.
- JarEntry(ZipEntry) - Constructor for class java.util.jar.JarEntry
- Creates a new JarEntry with the specified ZipEntry as template for all properties of the entry.
- JarEntry(JarEntry) - Constructor for class java.util.jar.JarEntry
- Creates a new JarEntry with the specified JarEntry as template for all properties of the entry.
- JarException - exception java.util.jar.JarException.
- This exception is thrown to indicate an problem with a jar file.
- JarException() - Constructor for class java.util.jar.JarException
- Create a new JarException without a descriptive error message.
- JarException(String) - Constructor for class java.util.jar.JarException
- Create a new JarException with a descriptive error message indicating what went wrong.
- JarFile - class java.util.jar.JarFile.
- Representation of a jar file.
- JarFile(String) - Constructor for class java.util.jar.JarFile
- Creates a new JarFile.
- JarFile(String, boolean) - Constructor for class java.util.jar.JarFile
- Creates a new JarFile.
- JarFile(File) - Constructor for class java.util.jar.JarFile
- Creates a new JarFile.
- JarFile(File, boolean) - Constructor for class java.util.jar.JarFile
- Creates a new JarFile.
- JarFile(File, boolean, int) - Constructor for class java.util.jar.JarFile
- Creates a new JarFile with the indicated mode.
- JarFile.EntryInputStream - class java.util.jar.JarFile.EntryInputStream.
- A utility class that verifies jar entries as they are read.
- JarFile.EntryInputStream(ZipEntry, InputStream, JarFile) - Constructor for class java.util.jar.JarFile.EntryInputStream
- JarFile.JarEnumeration - class java.util.jar.JarFile.JarEnumeration.
- Wraps a given Zip Entries Enumeration.
- JarFile.JarEnumeration(Enumeration, JarFile) - Constructor for class java.util.jar.JarFile.JarEnumeration
- JarInputStream - class java.util.jar.JarInputStream.
- InputStream for reading jar files.
- JarInputStream(InputStream) - Constructor for class java.util.jar.JarInputStream
- Creates a new JarInputStream and tries to read the manifest.
- JarInputStream(InputStream, boolean) - Constructor for class java.util.jar.JarInputStream
- Creates a new JarInputStream and tries to read the manifest.
- JarOutputStream - class java.util.jar.JarOutputStream.
- OutputStream for writing jar files.
- JarOutputStream(OutputStream) - Constructor for class java.util.jar.JarOutputStream
- Creates a new JarOutputStream without a manifest entry.
- JarOutputStream(OutputStream, Manifest) - Constructor for class java.util.jar.JarOutputStream
- Creates a new JarOutputStream with a manifest entry.
- jarfile - Variable in class java.util.jar.JarFile.EntryInputStream
- jarfile - Variable in class java.util.jar.JarFile.JarEnumeration
- java.util.jar - package java.util.jar
K
- keySet() - Method in class java.util.jar.Attributes
- Gives a Set of all the values of defined attribute names.
L
- length - Variable in class java.util.jar.JarFile.EntryInputStream
M
- MAIN_CLASS - Static variable in class java.util.jar.Attributes.Name
- Stand alone application attribute - the entry (without the .class ending) that is the main class of this jar file.
- MANIFEST_NAME - Static variable in class java.util.jar.JarFile
- The name of the manifest entry: META-INF/MANIFEST.MF
- MANIFEST_VERSION - Static variable in class java.util.jar.Attributes.Name
- General main attribute - the version of this Manifest file.
- MD2_OID - Static variable in class java.util.jar.JarFile
- MD4_OID - Static variable in class java.util.jar.JarFile
- MD5_OID - Static variable in class java.util.jar.JarFile
- META_INF - Static variable in class java.util.jar.JarFile
- The META-INF directory entry.
- Manifest - class java.util.jar.Manifest.
- Reads, writes and manipulaties jar manifest files.
- Manifest() - Constructor for class java.util.jar.Manifest
- Creates a new empty Manifest.
- Manifest(InputStream) - Constructor for class java.util.jar.Manifest
- Creates a Manifest from the supplied input stream.
- Manifest(Manifest) - Constructor for class java.util.jar.Manifest
- Creates a Manifest from another Manifest.
- mainAttr - Variable in class java.util.jar.Manifest
- The main attributes of the manifest (jar file).
- manifest - Variable in class java.util.jar.JarFile
- The manifest of this file, if any, otherwise null.
- manifest - Variable in class java.util.jar.JarInputStream
- The manifest for this file or null when there was no manifest.
- manifestRead - Variable in class java.util.jar.JarFile
- Whether the has already been loaded.
- map - Variable in class java.util.jar.Attributes
- The map that holds all the attribute name/value pairs.
- mark(int) - Method in class java.util.jar.JarFile.EntryInputStream
- markSupported() - Method in class java.util.jar.JarFile.EntryInputStream
- md - Variable in class java.util.jar.JarFile.EntryInputStream
N
- name - Variable in class java.util.jar.Attributes.Name
- The (lowercase) String representation of this Name
- nextElement() - Method in class java.util.jar.JarFile.JarEnumeration
O
- origName - Variable in class java.util.jar.Attributes.Name
- The original String given to the constructor
P
- PKCS7_DSA_SUFFIX - Static variable in class java.util.jar.JarFile
- The suffix for PKCS7 DSA signature entries.
- PKCS7_RSA_SUFFIX - Static variable in class java.util.jar.JarFile
- The suffix for PKCS7 RSA signature entries.
- pos - Variable in class java.util.jar.JarFile.EntryInputStream
- provider - Static variable in class java.util.jar.JarFile
- The security provider to use for signature verification.
- put(Object, Object) - Method in class java.util.jar.Attributes
- Adds or replaces a attribute name/value pair.
- putAll(Map) - Method in class java.util.jar.Attributes
- Adds or replaces all attribute name/value pairs from another Attributes object to this one.
- putNextEntry(ZipEntry) - Method in class java.util.jar.JarOutputStream
- Prepares the JarOutputStream for writing the next entry.
- putValue(String, String) - Method in class java.util.jar.Attributes
- Stores an attribute name (represented by a String) and value in this Attributes map.
- putValue(Attributes.Name, String) - Method in class java.util.jar.Attributes
- Stores an attribute name (represented by a String) and value in this Attributes map.
R
- RSA_ENCRYPTION_OID - Static variable in class java.util.jar.JarFile
- read() - Method in class java.util.jar.JarFile.EntryInputStream
- read(byte[], int, int) - Method in class java.util.jar.JarFile.EntryInputStream
- read(byte[]) - Method in class java.util.jar.JarFile.EntryInputStream
- read(byte[], int, int) - Method in class java.util.jar.JarInputStream
- XXX
- read(InputStream) - Method in class java.util.jar.Manifest
- Read and merge a
Mainfestfrom the designated input stream. - readManifest() - Method in class java.util.jar.JarFile
- Parses and returns the manifest if it exists, otherwise returns null.
- readManifest(boolean) - Method in class java.util.jar.JarInputStream
- Set the manifest if found.
- readManifestEntry(ZipEntry) - Method in class java.util.jar.JarFile
- Read the raw bytes that comprise a manifest entry.
- readSignatures() - Method in class java.util.jar.JarFile
- remove(Object) - Method in class java.util.jar.Attributes
- Remove a attribute name/value pair.
- reset() - Method in class java.util.jar.JarFile.EntryInputStream
S
- SEALED - Static variable in class java.util.jar.Attributes.Name
- Package sealing - whether (all) package(s) is(/are) sealed.
- SF_SUFFIX - Static variable in class java.util.jar.JarFile
- The suffix for signature files.
- SHA1_OID - Static variable in class java.util.jar.JarFile
- SIGNATURE_VERSION - Static variable in class java.util.jar.Attributes.Name
- General main attribute - the version of the jar file signature.
- SPECIFICATION_TITLE - Static variable in class java.util.jar.Attributes.Name
- Package versioning - title of the specification contained in this jar.
- SPECIFICATION_VENDOR - Static variable in class java.util.jar.Attributes.Name
- Package versioning - organisation that maintains the specification contains in this jar.
- SPECIFICATION_VERSION - Static variable in class java.util.jar.Attributes.Name
- Package versioning - version of the specification contained in this jar.
- serialVersionUID - Static variable in class java.util.jar.JarException
- Compatible with JDK 1.2+.
- signaturesRead - Variable in class java.util.jar.JarFile
- Whether the signature files have been loaded.
- size() - Method in class java.util.jar.Attributes
- Returns the number of defined attribute name/value pairs.
- skip(long) - Method in class java.util.jar.JarFile.EntryInputStream
T
- toString() - Method in class java.util.jar.Attributes.Name
- Returns the string representation of this Name as given to the constructor (not neccesarily the lower case representation).
V
- values() - Method in class java.util.jar.Attributes
- Returns all the values of the defined attribute name/value pairs as a Collection.
- verified - Variable in class java.util.jar.JarFile
- A map between entry names and booleans, signaling whether or not that entry has been verified.
- verify - Variable in class java.util.jar.JarFile
- Whether to verify the manifest and all entries.
- verify() - Method in class java.util.jar.JarFile
- XXX - should verify the manifest file
- verify(Certificate[], SignerInfo, String, Set) - Method in class java.util.jar.JarFile
- Tell if the given signer info is over the given alias's signature file, given one of the certificates specified.
- verifyHashes(String, Attributes) - Method in class java.util.jar.JarFile
- Verifies that the digest(s) in a signature file were, in fact, made over the manifest entry for ENTRY.
W
- write(OutputStream) - Method in class java.util.jar.Manifest
- Writes the contents of this
Manifestto the designated output stream. - writeManifest(Manifest) - Method in class java.util.jar.JarOutputStream
- Writes the manifest to a new JarEntry in this JarOutputStream with as name JarFile.MANIFEST_NAME.
A C D E F G H I J K L M N O P R S T V W
|
|||||||||
| Home >> All >> java >> util >> [ jar overview ] | PREV NEXT | ||||||||