edu.umd.cs.findbugs
Class FindBugs.DirectoryClassProducer
java.lang.Object
edu.umd.cs.findbugs.FindBugs.DirectoryClassProducer
- All Implemented Interfaces:
- FindBugs.ClassProducer
- Enclosing class:
- FindBugs
private class FindBugs.DirectoryClassProducer
- extends java.lang.Object
- implements FindBugs.ClassProducer
ClassProducer for directories.
The directory is scanned recursively for class files.
Method Summary |
void |
close()
Close any internal files or streams. |
boolean |
containsSourceFiles()
Did this class producer scan any Java source files? |
org.apache.bcel.classfile.JavaClass |
getNextClass()
Get the next class to analyze. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dirName
private java.lang.String dirName
additionalAuxClasspathEntryList
private java.util.List<java.lang.String> additionalAuxClasspathEntryList
rfsIter
private java.util.Iterator<java.lang.String> rfsIter
containsSourceFiles
private boolean containsSourceFiles
FindBugs.DirectoryClassProducer
public FindBugs.DirectoryClassProducer(java.lang.String dirName,
java.util.List<java.lang.String> additionalAuxClasspathEntryList)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
getNextClass
public org.apache.bcel.classfile.JavaClass getNextClass()
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from interface:
FindBugs.ClassProducer
- Get the next class to analyze.
- Specified by:
getNextClass
in interface FindBugs.ClassProducer
- Returns:
- the class, or null of there are no more classes for this ClassProducer
- Throws:
java.io.IOException
- if an IOException occurs
java.lang.InterruptedException
- if the thread is interrupted
containsSourceFiles
public boolean containsSourceFiles()
- Description copied from interface:
FindBugs.ClassProducer
- Did this class producer scan any Java source files?
- Specified by:
containsSourceFiles
in interface FindBugs.ClassProducer
close
public void close()
- Description copied from interface:
FindBugs.ClassProducer
- Close any internal files or streams.
- Specified by:
close
in interface FindBugs.ClassProducer