Modifier and Type | Method and Description |
---|---|
default ModuleEntry |
ModuleEntry.create(byte[] content)
Create a ModuleEntry with new content but other information
copied from this ModuleEntry.
|
static ModuleEntry |
ModuleEntry.create(String path,
byte[] content)
Create a ModuleEntry for a resource of type
ModuleEntry.Type.CLASS_OR_RESOURCE . |
static ModuleEntry |
ModuleEntry.create(String path,
Path file)
Create a ModuleEntry for a resource of type
ModuleEntry.Type.CLASS_OR_RESOURCE . |
static ModuleEntry |
ModuleEntry.create(String path,
ModuleEntry.Type type,
byte[] content)
Create a ModuleEntry for a resource of the given type.
|
static ModuleEntry |
ModuleEntry.create(String path,
ModuleEntry.Type type,
Path file)
Create a ModuleEntry for a resource of the given type.
|
default ModuleEntry |
ModuleEntry.create(Path file)
Create a ModuleEntry with new content but other information
copied from this ModuleEntry.
|
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-ea+126