public interface LinkModule
Modifier and Type | Method and Description |
---|---|
void |
add(ModuleEntry data)
Add a LinkModuleEntry to this module.
|
Stream<? extends ModuleEntry> |
entries()
Retrieves the stream of LinkModuleEntry.
|
Optional<ModuleEntry> |
findEntry(String path)
Retrieves a LinkModuleEntry from the given path (e.g:
/mymodule/com.foo.bar/MyClass.class)
|
Set<String> |
getAllPackages()
Retrieves all the packages located in this module.
|
ModuleDescriptor |
getDescriptor()
The module descriptor of this module.
|
int |
getEntryCount()
Return the number of LinkModuleEntry count in this LinkModule.
|
String |
getName()
The module name.
|
String getName()
Optional<ModuleEntry> findEntry(String path)
path
- The piece of data path.ModuleDescriptor getDescriptor()
void add(ModuleEntry data)
data
- The LinkModuleEntry to add.Set<String> getAllPackages()
Stream<? extends ModuleEntry> entries()
int getEntryCount()
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-ea+126