|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.ba.RepositoryClassParser
public class RepositoryClassParser
A special version of ClassParser that automatically enters parsed classes into the Repository. This allows us to use the Repository to inspect the class hierarchy, based on the current class path.
Constructor Summary | |
---|---|
RepositoryClassParser(java.io.InputStream inputStream,
java.lang.String fileName)
Constructor. |
|
RepositoryClassParser(java.lang.String fileName)
Constructor. |
|
RepositoryClassParser(java.lang.String zipFile,
java.lang.String fileName)
Constructor. |
Method Summary | |
---|---|
org.apache.bcel.classfile.JavaClass |
parse()
Parse the class file into a JavaClass object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryClassParser(java.io.InputStream inputStream, java.lang.String fileName)
inputStream
- the input stream from which to read the class filefileName
- filename of the class filepublic RepositoryClassParser(java.lang.String fileName) throws java.io.IOException
fileName
- name of the class file
java.io.IOException
- if the file cannot be readpublic RepositoryClassParser(java.lang.String zipFile, java.lang.String fileName) throws java.io.IOException
zipFile
- name of a zip file containing the classfileName
- name of the zip entry within the class
java.io.IOException
- if the zip entry cannot be readMethod Detail |
---|
public org.apache.bcel.classfile.JavaClass parse() throws java.io.IOException
java.io.IOException
- if the class cannot be parsed
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |