edu.umd.cs.findbugs
Class FindBugs.ZipClassProducer
java.lang.Object
edu.umd.cs.findbugs.FindBugs.ZipClassProducer
- All Implemented Interfaces:
- FindBugs.ClassProducer
- Enclosing class:
- FindBugs
private class FindBugs.ZipClassProducer
- extends java.lang.Object
- implements FindBugs.ClassProducer
ClassProducer for zip/jar archives.
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 |
url
private java.net.URL url
archiveWorkList
private java.util.LinkedList<FindBugs.ArchiveWorkListItem> archiveWorkList
additionalAuxClasspathEntryList
private java.util.List<java.lang.String> additionalAuxClasspathEntryList
zipInputStream
private java.util.zip.ZipInputStream zipInputStream
containsSourceFiles
private boolean containsSourceFiles
FindBugs.ZipClassProducer
public FindBugs.ZipClassProducer(java.net.URL url,
java.util.LinkedList<FindBugs.ArchiveWorkListItem> archiveWorkList,
java.util.List<java.lang.String> additionalAuxClasspathEntryList)
throws java.io.IOException
- Throws:
java.io.IOException
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