public abstract static class ModuleLayerFromSingleClassLoaderDecorator.AbstractModuleReader extends Object implements Closeable
This class serves as a base for creating module readers that can handle byte code representations
of classes within a module. It implements the Closeable interface but provides an empty
implementation for the close method.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractModuleReader(Map<String,byte[]> types)
Creates a new abstract module reader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected Object |
doFind(String name)
Finds a resource within the module.
|
protected Object |
doList()
Lists all resources in the module.
|
protected Object |
doOpen(String name)
Opens an input stream to a resource within the module.
|
protected Object doFind(String name)
name - The resource name.protected Object doList()
protected Object doOpen(String name)
name - The resource name.public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2014–2025. All rights reserved.