com.ibm.wala.classLoader
Class DirectoryTreeModule

java.lang.Object
  extended by com.ibm.wala.classLoader.DirectoryTreeModule
All Implemented Interfaces:
Module
Direct Known Subclasses:
BinaryDirectoryTreeModule, SourceDirectoryTreeModule

public abstract class DirectoryTreeModule
extends java.lang.Object
implements Module

A module containing files under some directory.


Field Summary
protected  java.io.File root
           
 
Method Summary
 java.util.Iterator<ModuleEntry> getEntries()
           
 java.lang.String getPath()
           
protected abstract  boolean includeFile(java.io.File file)
           
protected abstract  FileModule makeFile(java.io.File file)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

root

protected final java.io.File root
Method Detail

makeFile

protected abstract FileModule makeFile(java.io.File file)

includeFile

protected abstract boolean includeFile(java.io.File file)

getEntries

public java.util.Iterator<ModuleEntry> getEntries()
Specified by:
getEntries in interface Module
Returns:
an Iterator of the ModuleEntries in this Module.

getPath

public java.lang.String getPath()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object