| Modifier and Type | Field and Description |
|---|---|
| private final URLClassLoader | |
| private final FileSystem | |
| pack-priv static final String | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ModularRuntimeImage(final String
Path to a Java 9 or greater home. javaHome)Constructs an instance using the JRT file system implementation from a specific Java Home. |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. |
| public FileSystem | |
| public List | |
| public List | |
| public List | |
| public List |
| classLoader | back to summary |
|---|---|
| private final URLClassLoader classLoader | |
| fileSystem | back to summary |
|---|---|
| private final FileSystem fileSystem | |
| MODULES_PATH | back to summary |
|---|---|
| pack-priv static final String MODULES_PATH | |
| PACKAGES_PATH | back to summary |
|---|---|
| pack-priv static final String PACKAGES_PATH | |
| ModularRuntimeImage | back to summary |
|---|---|
| public ModularRuntimeImage() Constructs a default instance.
| |
| ModularRuntimeImage | back to summary |
|---|---|
| public ModularRuntimeImage(final String javaHome) throws IOException Constructs an instance using the JRT file system implementation from a specific Java Home.
| |
| ModularRuntimeImage | back to summary |
|---|---|
| private ModularRuntimeImage(final URLClassLoader cl, final FileSystem fs) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| getFileSystem | back to summary |
|---|---|
| public FileSystem getFileSystem() | |
| list | back to summary |
|---|---|
| public List Lists all entries in the given directory.
| |
| list | back to summary |
|---|---|
| public List Lists all entries in the given directory.
| |
| modules | back to summary |
|---|---|
| public List Lists all modules.
| |
| packages | back to summary |
|---|---|
| public List Lists all packages.
| |