java.lang.Object | +--jdepend.framework.FileManager
Constructs an empty FileManager instance. |
boolean | acceptClassFile(java.io.File file) Indicates whether the specified file is a valid Java class file. |
boolean | acceptClassFileName(java.lang.String name) Indicates whether the specified file name is a valid Java class file. |
boolean | acceptFile(java.io.File file) Indicates whether the specified file is a valid file. |
void | acceptInnerClasses(boolean b) Determines whether inner classes should be collected. |
boolean | acceptJarFile(java.io.File file) Indicates whether the specified file is a valid jar file file. |
void | addDirectory(java.lang.String name) Adds the specified directory to the collection of directories to be managed. |
java.util.Collection | Returns the Java class files contained in the managed directories. |
public FileManager()
FileManager
instance.
public boolean acceptClassFile(java.io.File file)
public boolean acceptClassFileName(java.lang.String name)
public boolean acceptFile(java.io.File file)
public void acceptInnerClasses(boolean b)
public boolean acceptJarFile(java.io.File file)
public void addDirectory(java.lang.String name)
java.io.IOException
- If the directory is invalid.public Collection extractFiles()
FileManager
class is responsible for extracting Java class files (.class
files) from a collection of registered directories.