Modifier and Type | Method and Description |
---|---|
default ResourcePoolEntry |
ResourcePoolEntry.copyWithContent(byte[] content)
Create a ResourcePoolEntry with new content but other information
copied from this ResourcePoolEntry.
|
default ResourcePoolEntry |
ResourcePoolEntry.copyWithContent(Path file)
Create a ResourcePoolEntry with new content but other information
copied from this ResourcePoolEntry.
|
static ResourcePoolEntry |
ResourcePoolEntry.create(String path,
byte[] content)
Create a ResourcePoolEntry for a resource of type
ResourcePoolEntry.Type.CLASS_OR_RESOURCE . |
static ResourcePoolEntry |
ResourcePoolEntry.create(String path,
Path file)
Create a ResourcePoolEntry for a resource of type
ResourcePoolEntry.Type.CLASS_OR_RESOURCE . |
static ResourcePoolEntry |
ResourcePoolEntry.create(String path,
ResourcePoolEntry.Type type,
byte[] content)
Create a ResourcePoolEntry for a resource of the given type.
|
static ResourcePoolEntry |
ResourcePoolEntry.create(String path,
ResourcePoolEntry.Type type,
Path file)
Create a ResourcePoolEntry for a resource of the given type.
|
Modifier and Type | Method and Description |
---|---|
Stream<ResourcePoolEntry> |
ResourcePool.entries()
Get all ResourcePoolEntry contained in this ResourcePool instance.
|
Stream<ResourcePoolEntry> |
ResourcePoolModule.entries()
Retrieves the stream of ResourcePoolEntry.
|
Optional<ResourcePoolEntry> |
ResourcePool.findEntry(String path)
Get the ResourcePoolEntry for the passed path.
|
Optional<ResourcePoolEntry> |
ResourcePoolModule.findEntry(String path)
Retrieves a ResourcePoolEntry from the given path (e.g:
/mymodule/com.foo.bar/MyClass.class)
|
Optional<ResourcePoolEntry> |
ResourcePool.findEntryInContext(String path,
ResourcePoolEntry context)
Get the ModuleEntry for the passed path restricted to supplied context.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourcePoolBuilder.add(ResourcePoolEntry data)
Add a ResourcePoolEntry.
|
boolean |
ResourcePool.contains(ResourcePoolEntry data)
Check if the ResourcePool contains the given ResourcePoolEntry.
|
Optional<ResourcePoolEntry> |
ResourcePool.findEntryInContext(String path,
ResourcePoolEntry context)
Get the ModuleEntry for the passed path restricted to supplied context.
|
default Optional<ResourcePoolModule> |
ResourcePoolModuleView.findModule(ResourcePoolEntry entry)
Find the module, if any, of the given ResourcePoolEntry
|
Modifier and Type | Method and Description |
---|---|
default void |
ResourcePool.transformAndCopy(Function<ResourcePoolEntry,ResourcePoolEntry> transform,
ResourcePoolBuilder outBuilder)
Visit each ResourcePoolEntry in this ResourcePool to transform it and copy
the transformed ResourcePoolEntry to the output ResourcePoolBuilder.
|
default void |
ResourcePool.transformAndCopy(Function<ResourcePoolEntry,ResourcePoolEntry> transform,
ResourcePoolBuilder outBuilder)
Visit each ResourcePoolEntry in this ResourcePool to transform it and copy
the transformed ResourcePoolEntry to the output ResourcePoolBuilder.
|
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-08-08-112313.buildd.src