| Modifier and Type | Class and Description |
|---|---|
| public static class | JmodFile.
JMOD file entry. |
| public static enum | JmodFile.
JMOD sections |
| Modifier and Type | Field and Description |
|---|---|
| private final Path | |
| private static final byte[] | |
| private static final int | |
| private static final int | |
| private final ZipFile |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public void | close()
Implements java. Closes this resource, relinquishing any underlying resources. |
| public JmodFile. | |
| public InputStream | getInputStream(JmodFile.
Opens an |
| public InputStream | |
| public Stream | |
| public static void |
| file | back to summary |
|---|---|
| private final Path file | |
| JMOD_MAGIC_NUMBER | back to summary |
|---|---|
| private static final byte[] JMOD_MAGIC_NUMBER | |
| JMOD_MAJOR_VERSION | back to summary |
|---|---|
| private static final int JMOD_MAJOR_VERSION | |
| JMOD_MINOR_VERSION | back to summary |
|---|---|
| private static final int JMOD_MINOR_VERSION | |
| zipfile | back to summary |
|---|---|
| private final ZipFile zipfile | |
| JmodFile | back to summary |
|---|---|
| public JmodFile(Path file) throws IOException Constructs a | |
| checkMagic | back to summary |
|---|---|
| public static void checkMagic(Path file) throws IOException | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| getEntry | back to summary |
|---|---|
| public JmodFile. Returns the | |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream(JmodFile. Opens an
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream(JmodFile. Opens an
| |
| stream | back to summary |
|---|---|
| public Stream Returns a stream of entries in this JMOD file. | |
| writeMagicNumber | back to summary |
|---|---|
| public static void writeMagicNumber(OutputStream os) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| pack-priv static final Map | |
| private final JmodFile. | |
| private final ZipEntry |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public String | |
| public JmodFile. | |
| pack-priv static JmodFile. | |
| public long | |
| public String | |
| public ZipEntry |
| name | back to summary |
|---|---|
| private final String name | |
| NAME_TO_SECTION | back to summary |
|---|---|
| pack-priv static final Map<String, JmodFile. | |
| section | back to summary |
|---|---|
| private final JmodFile. | |
| zipEntry | back to summary |
|---|---|
| private final ZipEntry zipEntry | |
| Entry | back to summary |
|---|---|
| private Entry(ZipEntry e) | |
| isDirectory | back to summary |
|---|---|
| public boolean isDirectory() Returns true if the entry is a directory in the JMOD file. | |
| name | back to summary |
|---|---|
| public String name() Returns the name of this entry. | |
| section | back to summary |
|---|---|
| public JmodFile. Returns the section of this entry. | |
| section | back to summary |
|---|---|
| pack-priv static JmodFile. | |
| size | back to summary |
|---|---|
| public long size() Returns the size of this entry. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| zipEntry | back to summary |
|---|---|
| public ZipEntry zipEntry() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final JmodFile. | |
| public static final JmodFile. | |
| public static final JmodFile. | |
| private final String | |
| public static final JmodFile. | |
| public static final JmodFile. | |
| public static final JmodFile. | |
| public static final JmodFile. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public static JmodFile. | |
| public static JmodFile. |
| CLASSES | back to summary |
|---|---|
| public static final JmodFile. | |
| CONFIG | back to summary |
|---|---|
| public static final JmodFile. | |
| HEADER_FILES | back to summary |
|---|---|
| public static final JmodFile. | |
| jmodDir | back to summary |
|---|---|
| private final String jmodDir | |
| LEGAL_NOTICES | back to summary |
|---|---|
| public static final JmodFile. | |
| MAN_PAGES | back to summary |
|---|---|
| public static final JmodFile. | |
| NATIVE_CMDS | back to summary |
|---|---|
| public static final JmodFile. | |
| NATIVE_LIBS | back to summary |
|---|---|
| public static final JmodFile. | |
| Section | back to summary |
|---|---|
| private Section(String jmodDir) | |
| jmodDir | back to summary |
|---|---|
| public String jmodDir() Returns the directory name in the JMOD file corresponding to this section | |
| valueOf | back to summary |
|---|---|
| public static JmodFile. | |
| values | back to summary |
|---|---|
| public static JmodFile. | |