| Modifier and Type | Class and Description |
|---|---|
| private static class | Main.
An OutputStream that doesn't send its output anywhere, (but could). |
| private static class | |
| private class | Main.
Compute and record hashes |
| pack-priv static interface | Main.
Associates a module descriptor's zip entry name along with its bytes and an optional URI. |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| pack-priv boolean | |
| private byte[] | copyBuf
A buffer for use only by copy(InputStream, OutputStream). |
| pack-priv LocalDateTime | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv Set | |
| pack-priv static Comparator | |
| pack-priv Map | |
| pack-priv static Comparator | |
| pack-priv PrintWriter | |
| pack-priv Map | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv Consumer | |
| pack-priv boolean | |
| private HashSet | |
| pack-priv boolean | |
| pack-priv static final String | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv static final String | |
| pack-priv ModuleFinder | |
| pack-priv Map | |
| pack-priv ModuleResolution | |
| pack-priv Pattern | |
| pack-priv ModuleDescriptor. | |
| private boolean | |
| pack-priv PrintWriter | |
| pack-priv Map | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv int | |
| pack-priv String | |
| private static ResourceBundle | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| private static final boolean | useExtractionTime
If true, maintain compatibility with JDK releases prior to 6.0 by timestamping extracted files with the time at which they are extracted. |
| pack-priv boolean | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final int | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | addExtendedModuleAttributes(Map<String, Main.
Adds extended modules attributes to the given module-info's. |
| pack-priv void | |
| private void | |
| private void | |
| private void | |
| pack-priv void | |
| private void | |
| private boolean | |
| private void | copy(InputStream
the input stream to read from from, OutputStream the output stream to write to to)Copies all bytes from the input stream to the output stream. |
| private void | copy(File
the input file to read from from, OutputStream the output stream to write to to)Copies all bytes from the input file to the output stream. |
| private void | copy(InputStream
the input stream to read from from, File the output file to write to to)Copies all bytes from the input stream to the output file. |
| private void | |
| private void | |
| private void | |
| pack-priv void | |
| private static File | createTempFileInSameDirectoryAs(File file)
Creates a new empty temporary file in the same directory as the specified file. |
| private File | createTemporaryFile(String tmpbase, String suffix)
Attempt to create temporary file in the system-provided temporary folder, if failed attempts to create it in the same folder as the file in parameter (if any) |
| private boolean | |
| private void | |
| private void | |
| private boolean | describeModuleFromEntries(Main.
Describes a single module descriptor, determined by the specified --release, if any, from the given ordered entries. |
| private boolean | |
| pack-priv void | |
| private boolean | |
| pack-priv void | |
| private void | |
| private void | |
| private byte[] | extendedInfoBytes(ModuleDescriptor md, byte[] miBytes, Set<String> packages)
Returns a byte array containing the given module-info.class plus any extended attributes. |
| pack-priv void | |
| pack-priv void | |
| pack-priv ZipEntry | extractFile(InputStream is, ZipEntry e)
Extracts next entry from JAR file, creating directories as needed. |
| pack-priv void | |
| pack-priv void | |
| private String[] | |
| pack-priv Stream | |
| pack-priv static String | |
| pack-priv void | |
| pack-priv List | getJarPath(String jar)
Generates the transitive closure of the Class-Path attribute for the specified jar file. |
| pack-priv static String | |
| private static int | |
| private boolean | |
| pack-priv static boolean | |
| private static final boolean | |
| private boolean | |
| pack-priv void | |
| pack-priv void | |
| public static void | |
| pack-priv Set | |
| protected void | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public synchronized boolean | |
| private String | |
| private void | |
| private void | |
| pack-priv static String | |
| private String | |
| private static String | |
| pack-priv static <T> String | |
| private static String | |
| pack-priv static <T> String | |
| private char | |
| private static String | |
| pack-priv boolean | update(InputStream in, OutputStream out, InputStream newManifest, Map<String, Main.
Updates an existing jar file. |
| pack-priv void | |
| private boolean | |
| private void | |
| pack-priv void | |
| private void | |
| private boolean | |
| private static String | |
| pack-priv void |