public abstract class FileModule extends java.lang.Object implements Module, ModuleEntry
| Constructor and Description |
|---|
FileModule(java.io.File f,
Module container) |
| Modifier and Type | Method and Description |
|---|---|
Module |
asModule()
Precondition: isModuleFile().
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAbsolutePath() |
Module |
getContainer()
the containing module
|
java.util.Iterator<ModuleEntry> |
getEntries() |
java.io.File |
getFile() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getName() |
int |
hashCode() |
boolean |
isModuleFile() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetClassName, isClassFile, isSourceFilepublic FileModule(java.io.File f,
Module container)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic java.lang.String getAbsolutePath()
public java.util.Iterator<ModuleEntry> getEntries()
getEntries in interface Modulepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getName()
getName in interface ModuleEntrypublic java.io.InputStream getInputStream()
getInputStream in interface ModuleEntrypublic boolean isModuleFile()
isModuleFile in interface ModuleEntrypublic java.io.File getFile()
public Module asModule() throws com.ibm.wala.util.debug.UnimplementedError
ModuleEntryasModule in interface ModuleEntrycom.ibm.wala.util.debug.UnimplementedErrorpublic Module getContainer()
ModuleEntrygetContainer in interface ModuleEntry