Package com.ibm.wala.classLoader
Class DirectoryTreeModule
- java.lang.Object
-
- com.ibm.wala.classLoader.DirectoryTreeModule
-
- All Implemented Interfaces:
Module
- Direct Known Subclasses:
BinaryDirectoryTreeModule
,SourceDirectoryTreeModule
public abstract class DirectoryTreeModule extends Object implements Module
A module containing files under some directory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Iterator<FileModule>
getEntries()
String
getPath()
int
hashCode()
protected abstract boolean
includeFile(File file)
protected abstract FileModule
makeFile(File file)
returns null if unsuccessful in creating FileModuleString
toString()
-
-
-
Field Detail
-
root
protected final File root
-
-
Method Detail
-
makeFile
protected abstract FileModule makeFile(File file)
returns null if unsuccessful in creating FileModule
-
includeFile
protected abstract boolean includeFile(File file)
-
getEntries
public Iterator<FileModule> getEntries()
- Specified by:
getEntries
in interfaceModule
- Returns:
- an Iterator of the ModuleEntries in this Module.
-
getPath
public String getPath()
-
-