JLink Plugin API - EXPERIMENTAL
DRAFT 9-Ubuntu+0-9b134-2
A B C D E F G H I J M N P R T V W 

A

add(ResourcePoolEntry) - Method in interface jdk.tools.jlink.plugin.ResourcePoolBuilder
Add a ResourcePoolEntry.

B

build() - Method in interface jdk.tools.jlink.plugin.ResourcePoolBuilder
Done with adding resource entries.
byteOrder() - Method in interface jdk.tools.jlink.plugin.ResourcePool
The ByteOrder currently in use when generating the jimage file.

C

configure(Map<String, String>) - Method in interface jdk.tools.jlink.plugin.Plugin
Configure the plugin based on the passed configuration.
contains(ResourcePoolEntry) - Method in interface jdk.tools.jlink.plugin.ResourcePool
Check if the ResourcePool contains the given ResourcePoolEntry.
content() - Method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
The ResourcePoolEntry content as an InputStream.
contentBytes() - Method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
The ResourcePoolEntry content as an array of bytes.
contentLength() - Method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
The ResourcePoolEntry content length.
copyWithContent(byte[]) - Method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
Create a ResourcePoolEntry with new content but other information copied from this ResourcePoolEntry.
copyWithContent(Path) - Method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
Create a ResourcePoolEntry with new content but other information copied from this ResourcePoolEntry.
create(String, byte[]) - Static method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
Create a ResourcePoolEntry for a resource of type ResourcePoolEntry.Type.CLASS_OR_RESOURCE.
create(String, Path) - Static method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
Create a ResourcePoolEntry for a resource of type ResourcePoolEntry.Type.CLASS_OR_RESOURCE.
create(String, ResourcePoolEntry.Type, byte[]) - Static method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
Create a ResourcePoolEntry for a resource of the given type.
create(String, ResourcePoolEntry.Type, Path) - Static method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
Create a ResourcePoolEntry for a resource of the given type.

D

descriptor() - Method in interface jdk.tools.jlink.plugin.ResourcePoolModule
The module descriptor of this module.

E

entries() - Method in interface jdk.tools.jlink.plugin.ResourcePool
Get all ResourcePoolEntry contained in this ResourcePool instance.
entries() - Method in interface jdk.tools.jlink.plugin.ResourcePoolModule
Retrieves the stream of ResourcePoolEntry.
entryCount() - Method in interface jdk.tools.jlink.plugin.ResourcePool
Return the number of ResourcePoolEntry count in this ResourcePool.
entryCount() - Method in interface jdk.tools.jlink.plugin.ResourcePoolModule
Return the number of ResourcePoolEntry count in this ResourcePoolModule.

F

findEntry(String) - Method in interface jdk.tools.jlink.plugin.ResourcePool
Get the ResourcePoolEntry for the passed path.
findEntry(String) - Method in interface jdk.tools.jlink.plugin.ResourcePoolModule
Retrieves a ResourcePoolEntry from the given path (e.g: /mymodule/com.foo.bar/MyClass.class)
findEntryInContext(String, ResourcePoolEntry) - Method in interface jdk.tools.jlink.plugin.ResourcePool
Get the ModuleEntry for the passed path restricted to supplied context.
findModule(String) - Method in interface jdk.tools.jlink.plugin.ResourcePoolModuleView
Find the module, if any, of the given name.
findModule(ResourcePoolEntry) - Method in interface jdk.tools.jlink.plugin.ResourcePoolModuleView
Find the module, if any, of the given ResourcePoolEntry

G

getArgumentsDescription() - Method in interface jdk.tools.jlink.plugin.Plugin
The plugin argument(s) description.
getDescription() - Method in interface jdk.tools.jlink.plugin.Plugin
The plugin description.
getName() - Method in enum jdk.tools.jlink.plugin.Plugin.Category
 
getName() - Method in interface jdk.tools.jlink.plugin.Plugin
The plugin name.
getOption() - Method in interface jdk.tools.jlink.plugin.Plugin
The option that identifies this plugin.
getState() - Method in interface jdk.tools.jlink.plugin.Plugin
The Plugin set of states.
getStateDescription() - Method in interface jdk.tools.jlink.plugin.Plugin
Return a message indicating the status of the provider.
getType() - Method in interface jdk.tools.jlink.plugin.Plugin
The type of this plugin.

H

hasArguments() - Method in interface jdk.tools.jlink.plugin.Plugin
Has this plugin require one or more arguments? A plugin can have one or more optional arguments.

I

isEmpty() - Method in interface jdk.tools.jlink.plugin.ResourcePool
Check if the ResourcePool contains some content at all.

J

jdk.jlink - module jdk.jlink
 
jdk.tools.jlink.plugin - package jdk.tools.jlink.plugin
 

M

moduleCount() - Method in interface jdk.tools.jlink.plugin.ResourcePoolModuleView
Return the number of ResourcePoolModule count in this ResourcePool.
moduleName() - Method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
The module name of this ResourcePoolEntry.
modules() - Method in interface jdk.tools.jlink.plugin.ResourcePoolModuleView
The stream of modules contained in this ResourcePool.
moduleView() - Method in interface jdk.tools.jlink.plugin.ResourcePool
Return the module view of this resource pool.

N

name() - Method in interface jdk.tools.jlink.plugin.ResourcePoolModule
The module name.

P

PluginException - Exception in jdk.tools.jlink.plugin
An unchecked exception thrown by jlink plugin API for unrecoverable conditions.
Plugin.Category - Enum in jdk.tools.jlink.plugin
Order of categories: FILTER: Filter in/out resources or files. TRANSFORMER: Transform resources or files(eg: refactoring, bytecode manipulation). MODULEINFO_TRANSFORMER: Transform only module-info.class SORTER: Sort resources within the resource container. COMPRESSOR: Compress resource within the resouce containers. METAINFO_ADDER: Added meta info (like release, copyright etc.) VERIFIER: Does some image verification. PROCESSOR: Does some post processing on image. PACKAGER: Final processing
Plugin.State - Enum in jdk.tools.jlink.plugin
Plugin state: DISABLED: The plugin is not exposed in help and will be not called. AUTO_ENABLED: The plugin is enabled by default.
Plugin - Interface in jdk.tools.jlink.plugin
Base interface that jlink plugins should implement.
PluginException() - Constructor for exception jdk.tools.jlink.plugin.PluginException
 
PluginException(String) - Constructor for exception jdk.tools.jlink.plugin.PluginException
 
PluginException(String, Throwable) - Constructor for exception jdk.tools.jlink.plugin.PluginException
 
PluginException(Throwable) - Constructor for exception jdk.tools.jlink.plugin.PluginException
 
packages() - Method in interface jdk.tools.jlink.plugin.ResourcePoolModule
Retrieves all the packages located in this module.
path() - Method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
The path of this ResourcePoolEntry.

R

ResourcePoolEntry.Type - Enum in jdk.tools.jlink.plugin
Type of module data.
ResourcePool - Interface in jdk.tools.jlink.plugin
A Pool of Java resources.
ResourcePoolBuilder - Interface in jdk.tools.jlink.plugin
Resource pool builder to build a resource pool by incrementally adding a set of resources one at a time.
ResourcePoolEntry - Interface in jdk.tools.jlink.plugin
A ResourcePoolEntry is the elementary unit of data inside an image.
ResourcePoolModule - Interface in jdk.tools.jlink.plugin
Link-time representation of a module.
ResourcePoolModuleView - Interface in jdk.tools.jlink.plugin
The module view of a ResourcePool.

T

transform(ResourcePool, ResourcePoolBuilder) - Method in interface jdk.tools.jlink.plugin.Plugin
Visit the content of the modules that are composing the image.
transformAndCopy(Function<ResourcePoolEntry, ResourcePoolEntry>, ResourcePoolBuilder) - Method in interface jdk.tools.jlink.plugin.ResourcePool
Visit each ResourcePoolEntry in this ResourcePool to transform it and copy the transformed ResourcePoolEntry to the output ResourcePoolBuilder.
type() - Method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
The ResourcePoolEntry's type.

V

valueOf(String) - Static method in enum jdk.tools.jlink.plugin.Plugin.Category
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jdk.tools.jlink.plugin.Plugin.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jdk.tools.jlink.plugin.ResourcePoolEntry.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum jdk.tools.jlink.plugin.Plugin.Category
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jdk.tools.jlink.plugin.Plugin.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jdk.tools.jlink.plugin.ResourcePoolEntry.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(OutputStream) - Method in interface jdk.tools.jlink.plugin.ResourcePoolEntry
Write the content of this ResourcePoolEntry to an OutputStream.
A B C D E F G H I J M N P R T V W 
Skip navigation links
JLink Plugin API - EXPERIMENTAL
DRAFT 9-Ubuntu+0-9b134-2


Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.

DRAFT 9-Ubuntu+0-9b134-2