public interface ResourcePoolModule
Modifier and Type | Method and Description |
---|---|
ModuleDescriptor |
descriptor()
The module descriptor of this module.
|
Stream<ResourcePoolEntry> |
entries()
Retrieves the stream of ResourcePoolEntry.
|
int |
entryCount()
Return the number of ResourcePoolEntry count in this ResourcePoolModule.
|
Optional<ResourcePoolEntry> |
findEntry(String path)
Retrieves a ResourcePoolEntry from the given path (e.g:
/mymodule/com.foo.bar/MyClass.class)
|
String |
name()
The module name.
|
Set<String> |
packages()
Retrieves all the packages located in this module.
|
String name()
Optional<ResourcePoolEntry> findEntry(String path)
path
- The piece of data path.ModuleDescriptor descriptor()
Set<String> packages()
Stream<ResourcePoolEntry> entries()
int entryCount()
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b134-2