| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | DefaultImageBuilder.
The default java executable Image. |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| private final Map | |
| public static final String | |
| public static final String | |
| public static final String | |
| private final Path | |
| private final Set | |
| private final Platform | |
| private final Path |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private String | |
| private Path | entryToImagePath(ResourcePoolEntry entry)
Returns the path of the given entry to be written in the image |
| private static void | |
| public ExecutableImage | getExecutableImage()
Implements jdk. Gets the executable image that is generated. |
| public DataOutputStream | getJImageOutputStream()
Implements jdk. The OutputStream to store the jimage file. |
| public Platform | getTargetPlatform()
Overrides default jdk. Gets the platform of the image. |
| private boolean | |
| private String | |
| private static void | |
| protected void | |
| private void | |
| private void | |
| public void | storeFiles(ResourcePool files)
Overrides default jdk. Store the external files. |
| private void | |
| private void |
| BIN_DIRNAME | back to summary |
|---|---|
| public static final String BIN_DIRNAME | |
| CONF_DIRNAME | back to summary |
|---|---|
| public static final String CONF_DIRNAME | |
| INCLUDE_DIRNAME | back to summary |
|---|---|
| public static final String INCLUDE_DIRNAME | |
| launchers | back to summary |
|---|---|
| private final Map<String, String> launchers | |
| LEGAL_DIRNAME | back to summary |
|---|---|
| public static final String LEGAL_DIRNAME | |
| LIB_DIRNAME | back to summary |
|---|---|
| public static final String LIB_DIRNAME | |
| MAN_DIRNAME | back to summary |
|---|---|
| public static final String MAN_DIRNAME | |
| mdir | back to summary |
|---|---|
| private final Path mdir | |
| modules | back to summary |
|---|---|
| private final Set<String> modules | |
| platform | back to summary |
|---|---|
| private final Platform platform | |
| root | back to summary |
|---|---|
| private final Path root | |
| DefaultImageBuilder | back to summary |
|---|---|
| public DefaultImageBuilder(Path root, Map<String, String> launchers, Platform targetPlatform) throws IOException Default image builder constructor. | |
| accept | back to summary |
|---|---|
| private void accept(ResourcePoolEntry file) throws IOException | |
| checkDuplicateResources | back to summary |
|---|---|
| private void checkDuplicateResources(ResourcePool pool) | |
| checkResourcePool | back to summary |
|---|---|
| private void checkResourcePool(ResourcePool pool) | |
| entryToFileName | back to summary |
|---|---|
| private String entryToFileName(ResourcePoolEntry entry) Returns the file name of this entry | |
| entryToImagePath | back to summary |
|---|---|
| private Path entryToImagePath(ResourcePoolEntry entry) Returns the path of the given entry to be written in the image | |
| forEachPath | back to summary |
|---|---|
| private static void forEachPath(Path dir, BiPredicate<Path, BasicFileAttributes> matcher, Consumer<Path> consumer) throws IOException | |
| getExecutableImage | back to summary |
|---|---|
| public ExecutableImage getExecutableImage() Implements jdk. Doc from jdk. Gets the executable image that is generated.
| |
| getJImageOutputStream | back to summary |
|---|---|
| public DataOutputStream getJImageOutputStream() Implements jdk. Doc from jdk. The OutputStream to store the jimage file.
| |
| getTargetPlatform | back to summary |
|---|---|
| public Platform getTargetPlatform() Overrides default jdk. Doc from jdk. Gets the platform of the image.
| |
| isWindows | back to summary |
|---|---|
| private boolean isWindows() | |
| nativeDir | back to summary |
|---|---|
| private String nativeDir(String filename) | |
| patchScripts | back to summary |
|---|---|
| private static void patchScripts(ExecutableImage img, List<String> args) throws IOException | |
| prepareApplicationFiles | back to summary |
|---|---|
| protected void prepareApplicationFiles(ResourcePool imageContent) throws IOException Generates launcher scripts.
| |
| setExecutable | back to summary |
|---|---|
| private void setExecutable(Path file) chmod ugo+x file | |
| setReadOnly | back to summary |
|---|---|
| private void setReadOnly(Path file) chmod ugo-w file | |
| storeFiles | back to summary |
|---|---|
| public void storeFiles(ResourcePool files) Overrides default jdk. Doc from jdk. Store the external files.
| |
| writeEntry | back to summary |
|---|---|
| private void writeEntry(InputStream in, Path dstFile) throws IOException | |
| writeSymLinkEntry | back to summary |
|---|---|
| private void writeSymLinkEntry(Path dstFile, Path target) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final Path | |
| private final Set | |
| private final Platform |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static List | |
| public List | getExecutionArgs()
Implements jdk. The list of arguments required to execute the image. |
| public Path | |
| public Set | getModules()
Implements jdk. The names of the modules located in the image. |
| public Platform | getTargetPlatform()
Implements jdk. The Platform of the image. |
| public void | storeLaunchArgs(List<String> args)
Implements jdk. Store new arguments required to execute the image. |
| args | back to summary |
|---|---|
| private final List<String> args | |
| home | back to summary |
|---|---|
| private final Path home | |
| modules | back to summary |
|---|---|
| private final Set<String> modules | |
| platform | back to summary |
|---|---|
| private final Platform platform | |
| DefaultExecutableImage | back to summary |
|---|---|
| pack-priv DefaultExecutableImage(Path home, Set<String> modules, Platform p) | |
| createArgs | back to summary |
|---|---|
| private static List | |
| getExecutionArgs | back to summary |
|---|---|
| public List Implements jdk. Doc from jdk. The list of arguments required to execute the image.
| |
| getHome | back to summary |
|---|---|
| public Path getHome() Implements jdk. Doc from jdk. Image home directory,
| |
| getModules | back to summary |
|---|---|
| public Set Implements jdk. Doc from jdk. The names of the modules located in the image.
| |
| getTargetPlatform | back to summary |
|---|---|
| public Platform getTargetPlatform() Implements jdk. Doc from jdk. The Platform of the image.
| |
| storeLaunchArgs | back to summary |
|---|---|
| public void storeLaunchArgs(List<String> args) Implements jdk. Doc from jdk. Store new arguments required to execute the image.
| |