public class CompoundModule extends Object implements ModuleEntry, Module, SourceModule
| Modifier and Type | Class and Description |
|---|---|
class |
CompoundModule.Reader |
| Constructor and Description |
|---|
CompoundModule(URL name,
SourceModule[] constituents) |
| Modifier and Type | Method and Description |
|---|---|
Module |
asModule()
Precondition: isModuleFile().
|
String |
getClassName() |
SourceModule[] |
getConstituents() |
Module |
getContainer()
the containing module
|
Iterator<ModuleEntry> |
getEntries() |
CompoundModule.Reader |
getInputReader() |
InputStream |
getInputStream() |
String |
getName() |
URL |
getURL() |
boolean |
isClassFile() |
boolean |
isModuleFile() |
boolean |
isSourceFile() |
public CompoundModule(URL name, SourceModule[] constituents)
public SourceModule[] getConstituents()
public Iterator<ModuleEntry> getEntries()
getEntries in interface Modulepublic boolean isModuleFile()
isModuleFile in interface ModuleEntrypublic Module asModule()
ModuleEntryasModule in interface ModuleEntrypublic String getClassName()
getClassName in interface ModuleEntrypublic String getName()
getName in interface ModuleEntrypublic URL getURL()
getURL in interface SourceModulepublic boolean isClassFile()
isClassFile in interface ModuleEntrypublic boolean isSourceFile()
isSourceFile in interface ModuleEntrypublic InputStream getInputStream()
getInputStream in interface ModuleEntrypublic CompoundModule.Reader getInputReader()
getInputReader in interface SourceModulepublic Module getContainer()
ModuleEntrygetContainer in interface ModuleEntryCopyright © 2015. All rights reserved.