| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | ADD_EXPORTS_KEY
The |
| private static final byte[] | ADD_OPENS_KEY
The |
| public String | addExportsManifestEntryValue
The value of the "Add-Exports" manifest entry, if present in the manifest, else null. |
| public String | addOpensManifestEntryValue
The value of the "Add-Opens" manifest entry, if present in the manifest, else null. |
| private static final byte[] | AUTOMATIC_MODULE_NAME_KEY
The |
| public String | automaticModuleNameManifestEntryValue
The value of the "Automatic-Module-Name" manifest entry, if present in the manifest, else null. |
| private static final byte[] | BUNDLE_CLASSPATH_KEY
The |
| public String | bundleClassPathManifestEntryValue
The value of the "Bundle-ClassPath" manifest entry, if present in the manifest, else null. |
| private static final byte[] | CLASS_PATH_KEY
The |
| public String | classPathManifestEntryValue
The value of the "Class-Path" manifest entry, if present in the manifest, else null. |
| pack-priv Set | classpathRoots
A set of classpath roots found in the classpath for this zipfile. |
| private final boolean | enableMultiReleaseVersions
If true, multi-release versions should not be stripped in resource names. |
| public List | entries
The zipfile entries. |
| private static final byte[] | IMPLEMENTATION_TITLE_KEY
The |
| public boolean | isJREJar
If true, this is a JRE jar. |
| private boolean | isMultiReleaseJar
If true, this is a multi-release jar. |
| private static final String | MANIFEST_PATH
|
| pack-priv static final String | META_INF_PATH_PREFIX
|
| private static final byte[] | MULTI_RELEASE_KEY
The |
| public static final String | MULTI_RELEASE_PATH_PREFIX
|
| private static final byte[] | SPECIFICATION_TITLE_KEY
The |
| private static final byte[] | SPRING_BOOT_CLASSES_KEY
The |
| private static final byte[] | SPRING_BOOT_LIB_KEY
The |
| private static byte[] | toLowerCase
For quickly converting ASCII characters to lower case. |
| Access | Constructor and Description |
|---|---|
| pack-priv | LogicalZipFile(final ZipFileSlice
the zipfile slice zipFileSlice, final NestedJarHandler the nested jar handler nestedJarHandler, final LogNode the log log, final boolean enableMultiReleaseVersions)Construct a logical zipfile from a slice of a physical zipfile. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides nonapi. Indicates whether some other object is "equal to" this one. |
| private static Map. | Returns: the manifest valuethe manifest bytes manifest, final int the start index of the manifest value startIdx)Extract a value from the manifest, and return the value as a string, along with the index after the terminating newline. |
| public int | hashCode()
Overrides nonapi. Returns a hash code value for this object. |
| private static boolean | Returns: true if the key matches at this positionthe manifest manifest, final byte[] the key key, final int the position to try matching pos)Key matches at position. |
| private static byte[] | Returns: the manifest key bytes, lowercased.the manifest key key)Manifest key to bytes. |
| private void | parseManifest(final FastZipEntry
the manifest zip entry manifestZipEntry, final LogNode the log log)Parse the manifest entry of a zipfile. |
| private void | readCentralDirectory(final NestedJarHandler
the nested jar handler nestedJarHandler, final LogNode the log log)Read the central directory of the zipfile. |
| public String | toString()
Overrides nonapi. Returns a string representation of the object. |
| ADD_EXPORTS_KEY | back to summary |
|---|---|
| private static final byte[] ADD_EXPORTS_KEY The | |
| ADD_OPENS_KEY | back to summary |
|---|---|
| private static final byte[] ADD_OPENS_KEY The | |
| addExportsManifestEntryValue | back to summary |
|---|---|
| public String addExportsManifestEntryValue The value of the "Add-Exports" manifest entry, if present in the manifest, else null. | |
| addOpensManifestEntryValue | back to summary |
|---|---|
| public String addOpensManifestEntryValue The value of the "Add-Opens" manifest entry, if present in the manifest, else null. | |
| AUTOMATIC_MODULE_NAME_KEY | back to summary |
|---|---|
| private static final byte[] AUTOMATIC_MODULE_NAME_KEY The | |
| automaticModuleNameManifestEntryValue | back to summary |
|---|---|
| public String automaticModuleNameManifestEntryValue The value of the "Automatic-Module-Name" manifest entry, if present in the manifest, else null. | |
| BUNDLE_CLASSPATH_KEY | back to summary |
|---|---|
| private static final byte[] BUNDLE_CLASSPATH_KEY The | |
| bundleClassPathManifestEntryValue | back to summary |
|---|---|
| public String bundleClassPathManifestEntryValue The value of the "Bundle-ClassPath" manifest entry, if present in the manifest, else null. | |
| CLASS_PATH_KEY | back to summary |
|---|---|
| private static final byte[] CLASS_PATH_KEY The | |
| classPathManifestEntryValue | back to summary |
|---|---|
| public String classPathManifestEntryValue The value of the "Class-Path" manifest entry, if present in the manifest, else null. | |
| classpathRoots | back to summary |
|---|---|
| pack-priv Set<String> classpathRoots A set of classpath roots found in the classpath for this zipfile. | |
| enableMultiReleaseVersions | back to summary |
|---|---|
| private final boolean enableMultiReleaseVersions If true, multi-release versions should not be stripped in resource names. | |
| entries | back to summary |
|---|---|
| public List<FastZipEntry> entries The zipfile entries. | |
| IMPLEMENTATION_TITLE_KEY | back to summary |
|---|---|
| private static final byte[] IMPLEMENTATION_TITLE_KEY The | |
| isJREJar | back to summary |
|---|---|
| public boolean isJREJar If true, this is a JRE jar. | |
| isMultiReleaseJar | back to summary |
|---|---|
| private boolean isMultiReleaseJar If true, this is a multi-release jar. | |
| MANIFEST_PATH | back to summary |
|---|---|
| private static final String MANIFEST_PATH
| |
| META_INF_PATH_PREFIX | back to summary |
|---|---|
| pack-priv static final String META_INF_PATH_PREFIX
| |
| MULTI_RELEASE_KEY | back to summary |
|---|---|
| private static final byte[] MULTI_RELEASE_KEY The | |
| MULTI_RELEASE_PATH_PREFIX | back to summary |
|---|---|
| public static final String MULTI_RELEASE_PATH_PREFIX
| |
| SPECIFICATION_TITLE_KEY | back to summary |
|---|---|
| private static final byte[] SPECIFICATION_TITLE_KEY The | |
| SPRING_BOOT_CLASSES_KEY | back to summary |
|---|---|
| private static final byte[] SPRING_BOOT_CLASSES_KEY The | |
| SPRING_BOOT_LIB_KEY | back to summary |
|---|---|
| private static final byte[] SPRING_BOOT_LIB_KEY The | |
| toLowerCase | back to summary |
|---|---|
| private static byte[] toLowerCase For quickly converting ASCII characters to lower case. | |
| LogicalZipFile | back to summary |
|---|---|
| pack-priv LogicalZipFile(final ZipFileSlice zipFileSlice, final NestedJarHandler nestedJarHandler, final LogNode log, final boolean enableMultiReleaseVersions) throws IOException, InterruptedException Construct a logical zipfile from a slice of a physical zipfile.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides nonapi. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getManifestValue | back to summary |
|---|---|
| private static Map. Extract a value from the manifest, and return the value as a string, along with the index after the terminating newline. Manifest files support three different line terminator types, and entries can be split across lines with a line terminator followed by a space. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides nonapi. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| keyMatchesAtPosition | back to summary |
|---|---|
| private static boolean keyMatchesAtPosition(final byte[] manifest, final byte[] key, final int pos) Key matches at position.
| |
| manifestKeyToBytes | back to summary |
|---|---|
| private static byte[] manifestKeyToBytes(final String key) Manifest key to bytes.
| |
| parseManifest | back to summary |
|---|---|
| private void parseManifest(final FastZipEntry manifestZipEntry, final LogNode log) throws IOException, InterruptedException Parse the manifest entry of a zipfile.
| |
| readCentralDirectory | back to summary |
|---|---|
| private void readCentralDirectory(final NestedJarHandler nestedJarHandler, final LogNode log) throws IOException, InterruptedException Read the central directory of the zipfile.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides nonapi. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |