public abstract class AbstractURLModule extends java.lang.Object implements Module, ModuleEntry
| Constructor and Description |
|---|
AbstractURLModule(java.net.URL url) |
| Modifier and Type | Method and Description |
|---|---|
Module |
asModule()
Precondition: isModuleFile().
|
java.lang.String |
getClassName() |
Module |
getContainer()
the containing module
|
java.util.Iterator<ModuleEntry> |
getEntries() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getName() |
java.net.URL |
getURL() |
boolean |
isModuleFile() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisClassFile, isSourceFilepublic java.net.URL getURL()
public java.lang.String getName()
getName in interface ModuleEntrypublic java.io.InputStream getInputStream()
getInputStream in interface ModuleEntrypublic boolean isModuleFile()
isModuleFile in interface ModuleEntrypublic Module asModule() throws com.ibm.wala.util.debug.UnimplementedError
ModuleEntryasModule in interface ModuleEntrycom.ibm.wala.util.debug.UnimplementedErrorpublic java.lang.String getClassName()
throws java.lang.UnsupportedOperationException
getClassName in interface ModuleEntryjava.lang.UnsupportedOperationException - if !isClassFile() and !isSourceFile()public java.util.Iterator<ModuleEntry> getEntries()
getEntries in interface Modulepublic Module getContainer()
ModuleEntrygetContainer in interface ModuleEntrypublic java.lang.String toString()
toString in class java.lang.Object