Modifier and Type | Method and Description |
---|---|
static ModuleEntry |
ModuleEntry.create(String path,
byte[] content)
Create a LinkModuleEntry for a file that will be located inside a jimage
file.
|
static ModuleEntry |
ModuleEntry.create(String path,
InputStream content,
long size)
Create a LinkModuleEntry located inside a jimage file.
|
static ModuleEntry |
ModuleEntry.create(String module,
String path,
ModuleEntry.Type type,
InputStream content,
long size)
Create a LinkModuleEntry for a file that will be located outside a jimage
file.
|
Modifier and Type | Method and Description |
---|---|
Stream<? extends ModuleEntry> |
LinkModule.entries()
Retrieves the stream of LinkModuleEntry.
|
Stream<? extends ModuleEntry> |
ModulePool.entries()
Get all ModuleEntry contained in this ModulePool instance.
|
Optional<ModuleEntry> |
LinkModule.findEntry(String path)
Retrieves a LinkModuleEntry from the given path (e.g:
/mymodule/com.foo.bar/MyClass.class)
|
Optional<ModuleEntry> |
ModulePool.findEntry(String path)
Get the ModuleEntry for the passed path.
|
Modifier and Type | Method and Description |
---|---|
void |
LinkModule.add(ModuleEntry data)
Add a LinkModuleEntry to this module.
|
void |
ModulePool.add(ModuleEntry data)
Add a ModuleEntry.
|
boolean |
ModulePool.contains(ModuleEntry data)
Check if the ModulePool contains the given ModuleEntry.
|
Modifier and Type | Method and Description |
---|---|
void |
ModulePool.transformAndCopy(Function<ModuleEntry,ModuleEntry> transform,
ModulePool output)
Visit each ModuleEntry in this ModulePool to transform it and copy
the transformed ModuleEntry to the output ModulePool.
|
void |
ModulePool.transformAndCopy(Function<ModuleEntry,ModuleEntry> transform,
ModulePool output)
Visit each ModuleEntry in this ModulePool to transform it and copy
the transformed ModuleEntry to the output ModulePool.
|
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-06-25-232344.buildd.src