public abstract class FileModule extends Object implements Module, ModuleEntry
| Constructor and Description |
|---|
FileModule(File f,
Module container) |
| Modifier and Type | Method and Description |
|---|---|
Module |
asModule()
Precondition: isModuleFile().
|
boolean |
equals(Object o) |
String |
getAbsolutePath() |
Module |
getContainer()
the containing module
|
Iterator<ModuleEntry> |
getEntries() |
File |
getFile() |
InputStream |
getInputStream() |
String |
getName() |
int |
hashCode() |
boolean |
isModuleFile() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetClassName, isClassFile, isSourceFilepublic FileModule(File f, Module container) throws IllegalArgumentException
IllegalArgumentExceptionpublic String getAbsolutePath()
public Iterator<ModuleEntry> getEntries()
getEntries in interface Modulepublic String getName()
getName in interface ModuleEntrypublic InputStream getInputStream()
getInputStream in interface ModuleEntrypublic boolean isModuleFile()
isModuleFile in interface ModuleEntrypublic 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 ModuleEntryCopyright © 2015. All rights reserved.