| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static interface | |
| private static class | ImagePluginStack.
This pool wrap the original pool and automatically uncompress ResourcePoolEntry if needed. |
| public static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ImageBuilder | |
| private final Plugin | |
| private final List | |
| private final List | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | ImagePluginStack(ImageBuilder imageBuilder, List<Plugin> plugins, Plugin lastSorter, boolean validate)
|
| Modifier and Type | Method and Description |
|---|---|
| public ExecutableImage | |
| public ImageBuilder | |
| public DataOutputStream | |
| public void | |
| public void | storeFiles(ResourcePool original, ResourcePool transformed, BasicImageWriter writer)
Make the imageBuilder to store files. |
| public ResourcePool | Returns: The result of the visit.The set of resources to visit resources)Resource Plugins stack entry point. |
| imageBuilder | back to summary |
|---|---|
| private final ImageBuilder imageBuilder | |
| lastSorter | back to summary |
|---|---|
| private final Plugin lastSorter | |
| plugins | back to summary |
|---|---|
| private final List<Plugin> plugins | |
| resourcePrevisitors | back to summary |
|---|---|
| private final List<ResourcePrevisitor> resourcePrevisitors | |
| validate | back to summary |
|---|---|
| private final boolean validate | |
| ImagePluginStack | back to summary |
|---|---|
| public ImagePluginStack() | |
| ImagePluginStack | back to summary |
|---|---|
| public ImagePluginStack(ImageBuilder imageBuilder, List<Plugin> plugins, Plugin lastSorter) | |
| ImagePluginStack | back to summary |
|---|---|
| public ImagePluginStack(ImageBuilder imageBuilder, List<Plugin> plugins, Plugin lastSorter, boolean validate) | |
| getExecutableImage | back to summary |
|---|---|
| public ExecutableImage getExecutableImage() throws IOException | |
| getImageBuilder | back to summary |
|---|---|
| public ImageBuilder getImageBuilder() | |
| getJImageFileOutputStream | back to summary |
|---|---|
| public DataOutputStream getJImageFileOutputStream() throws IOException | |
| operate | back to summary |
|---|---|
| public void operate(ImagePluginStack. | |
| storeFiles | back to summary |
|---|---|
| public void storeFiles(ResourcePool original, ResourcePool transformed, BasicImageWriter writer) throws Exception Make the imageBuilder to store files. | |
| visitResources | back to summary |
|---|---|
| public ResourcePool visitResources(ResourcePoolManager resources) throws Exception Resource Plugins stack entry point. All resources are going through all the plugins.
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | CheckOrderResourcePoolManager(ByteOrder order, List<ResourcePoolEntry> orderedList, StringTable table)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | add(ResourcePoolEntry
The Resource to add. resource)Overrides jdk. Add a resource. |
| currentIndex | back to summary |
|---|---|
| private int currentIndex | |
| orderedList | back to summary |
|---|---|
| private final List<ResourcePoolEntry> orderedList | |
| CheckOrderResourcePoolManager | back to summary |
|---|---|
| public CheckOrderResourcePoolManager(ByteOrder order, List<ResourcePoolEntry> orderedList, StringTable table) | |
| add | back to summary |
|---|---|
| public void add(ResourcePoolEntry resource) Overrides jdk. Add a resource.
| |
| Modifier and Type | Method and Description |
|---|---|
| public ExecutableImage |
| retrieve | back to summary |
|---|---|
| public ExecutableImage retrieve(ImagePluginStack stack) throws IOException | |
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Collection | |
| pack-priv Decompressor | |
| private final ResourcePool |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(ResourcePoolEntry resource)
Overrides jdk. Add a ResourcePoolEntry. |
| public ByteOrder | byteOrder()
Overrides jdk. The ByteOrder currently in use when generating the jimage file. |
| public boolean | contains(ResourcePoolEntry res)
Overrides jdk. Check if the ResourcePool contains the given ResourcePoolEntry. |
| public Stream | Returns: The stream of resources;Overrides jdk. Get all resources contained in this pool instance. |
| public int | entryCount()
Overrides jdk. Return the number of ResourcePoolEntry count in this ResourcePool. |
| public Optional | Returns: A Resource instance if the resource is foundA resource path path)Overrides jdk. Get the resource for the passed path. |
| public Optional | findEntryInContext(String path, ResourcePoolEntry context)
Overrides jdk. Get the ResourcePoolEntry for the passed path restricted to supplied context. |
| public Optional | findModule(String name)
Overrides jdk. Retrieves the module for the provided name. |
| private ResourcePoolEntry | |
| public boolean | isEmpty()
Overrides jdk. Check if the ResourcePool contains some content at all. |
| public int | moduleCount()
Overrides jdk. Return the number of ResourcePoolModule count in this ResourcePool. |
| public Stream | Returns: The collection of modules.Overrides jdk. The collection of modules contained in this pool. |
| content | back to summary |
|---|---|
| pack-priv Collection<ResourcePoolEntry> content | |
| decompressor | back to summary |
|---|---|
| pack-priv Decompressor decompressor | |
| pool | back to summary |
|---|---|
| private final ResourcePool pool | |
| LastPoolManager | back to summary |
|---|---|
| pack-priv LastPoolManager(ResourcePool pool) | |
| add | back to summary |
|---|---|
| public void add(ResourcePoolEntry resource) Overrides jdk. Doc from jdk. Add a ResourcePoolEntry.
| |
| byteOrder | back to summary |
|---|---|
| public ByteOrder byteOrder() Overrides jdk. Doc from jdk. The ByteOrder currently in use when generating the jimage file.
| |
| contains | back to summary |
|---|---|
| public boolean contains(ResourcePoolEntry res) Overrides jdk. Doc from jdk. Check if the ResourcePool contains the given ResourcePoolEntry.
| |
| entries | back to summary |
|---|---|
| public Stream Overrides jdk. Get all resources contained in this pool instance.
| |
| entryCount | back to summary |
|---|---|
| public int entryCount() Overrides jdk. Doc from jdk. Return the number of ResourcePoolEntry count in this ResourcePool.
| |
| findEntry | back to summary |
|---|---|
| public Optional Overrides jdk. Get the resource for the passed path.
| |
| findEntryInContext | back to summary |
|---|---|
| public Optional Overrides jdk. Doc from jdk. Get the ResourcePoolEntry for the passed path restricted to supplied context.
| |
| findModule | back to summary |
|---|---|
| public Optional Overrides jdk. Doc from jdk. Retrieves the module for the provided name.
| |
| getUncompressed | back to summary |
|---|---|
| private ResourcePoolEntry getUncompressed(ResourcePoolEntry res) | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides jdk. Doc from jdk. Check if the ResourcePool contains some content at all.
| |
| moduleCount | back to summary |
|---|---|
| public int moduleCount() Overrides jdk. Doc from jdk. Return the number of ResourcePoolModule count in this ResourcePool.
| |
| modules | back to summary |
|---|---|
| public Stream Overrides jdk. The collection of modules contained in this pool.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ModuleDescriptor | |
| pack-priv final ResourcePoolModule | |
| pack-priv ModuleTarget |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ModuleDescriptor | descriptor()
Implements jdk. The module descriptor of this module. |
| public Stream | entries()
Implements jdk. Retrieves the stream of ResourcePoolEntry. |
| public int | entryCount()
Implements jdk. Return the number of ResourcePoolEntry count in this ResourcePoolModule. |
| public Optional | findEntry(String path)
Implements jdk. Retrieves a ResourcePoolEntry from the given path (e.g: /mymodule/com.foo.bar/MyClass.class) |
| private void | |
| public String | |
| public Set | packages()
Implements jdk. Retrieves all the packages located in this module. |
| public String | targetPlatform()
Implements jdk. The target platform |
| public String |
| descriptor | back to summary |
|---|---|
| pack-priv ModuleDescriptor descriptor | |
| module | back to summary |
|---|---|
| pack-priv final ResourcePoolModule module | |
| target | back to summary |
|---|---|
| pack-priv ModuleTarget target | |
| LastModule | back to summary |
|---|---|
| pack-priv LastModule(ResourcePoolModule module) | |
| descriptor | back to summary |
|---|---|
| public ModuleDescriptor descriptor() Implements jdk. Doc from jdk. The module descriptor of this module.
| |
| entries | back to summary |
|---|---|
| public Stream Implements jdk. Doc from jdk. Retrieves the stream of ResourcePoolEntry.
| |
| entryCount | back to summary |
|---|---|
| public int entryCount() Implements jdk. Doc from jdk. Return the number of ResourcePoolEntry count in this ResourcePoolModule.
| |
| findEntry | back to summary |
|---|---|
| public Optional Implements jdk. Doc from jdk. Retrieves a ResourcePoolEntry from the given path (e.g: /mymodule/com.foo.bar/MyClass.class)
| |
| initModuleAttributes | back to summary |
|---|---|
| private void initModuleAttributes() | |
| name | back to summary |
|---|---|
| public String name() Implements jdk. Doc from jdk. The module name.
| |
| packages | back to summary |
|---|---|
| public Set Implements jdk. Doc from jdk. Retrieves all the packages located in this module.
| |
| targetPlatform | back to summary |
|---|---|
| public String targetPlatform() Implements jdk. Doc from jdk. The target platform
| |
| 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-
| |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final ResourcePoolManager. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(ResourcePoolEntry
The Resource to add. resource)Overrides jdk. Add a resource. |
| pack-priv List | |
| public ResourcePool |
| orderedList | back to summary |
|---|---|
| private final List<ResourcePoolEntry> orderedList | |
| poolImpl | back to summary |
|---|---|
| private final ResourcePoolManager. Hides jdk. | |
| OrderedResourcePoolManager | back to summary |
|---|---|
| public OrderedResourcePoolManager(ByteOrder order, StringTable table) | |
| add | back to summary |
|---|---|
| public void add(ResourcePoolEntry resource) Overrides jdk. Add a resource.
| |
| getOrderedList | back to summary |
|---|---|
| pack-priv List | |
| resourcePool | back to summary |
|---|---|
| public ResourcePool resourcePool() Overrides jdk.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv List |
| OrderedResourcePool | back to summary |
|---|---|
| pack-priv OrderedResourcePool() | |
| getOrderedList | back to summary |
|---|---|
| pack-priv List | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final Map | |
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | addString(String str)
Implements jdk. Add a string to the jimage strings table. |
| private List | |
| public String | getString(int id)
Implements jdk. Retrieve a string from the passed id. |
| currentid | back to summary |
|---|---|
| private int currentid | |
| reverseMap | back to summary |
|---|---|
| private final Map<Integer, String> reverseMap | |
| stringsMap | back to summary |
|---|---|
| private final Map<String, Integer> stringsMap | |
| stringsUsage | back to summary |
|---|---|
| private final Map<String, Integer> stringsUsage | |
| PreVisitStrings | back to summary |
|---|---|
| private PreVisitStrings() | |
| addString | back to summary |
|---|---|
| public int addString(String str) Implements jdk. Doc from jdk. Add a string to the jimage strings table.
| |
| getSortedStrings | back to summary |
|---|---|
| private List | |
| getString | back to summary |
|---|---|
| public String getString(int id) Implements jdk. Doc from jdk. Retrieve a string from the passed id.
| |