public interface ResourcePoolModule
Modifier and Type | Method | 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()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b148-1