| java.lang.Object edu.umd.cs.findbugs.ba.RepositoryClassParser
RepositoryClassParser | public class RepositoryClassParser (Code) | | 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.
|
Method Summary | |
public JavaClass | parse() Parse the class file into a JavaClass object. |
RepositoryClassParser | public RepositoryClassParser(InputStream inputStream, String fileName)(Code) | | Constructor.
Parameters: inputStream - the input stream from which to read the class file Parameters: fileName - filename of the class file |
RepositoryClassParser | public RepositoryClassParser(String fileName) throws IOException(Code) | | Constructor.
Parameters: fileName - name of the class file throws: IOException - if the file cannot be read |
RepositoryClassParser | public RepositoryClassParser(String zipFile, String fileName) throws IOException(Code) | | Constructor.
Parameters: zipFile - name of a zip file containing the class Parameters: fileName - name of the zip entry within the class throws: IOException - if the zip entry cannot be read |
parse | public JavaClass parse() throws IOException(Code) | | Parse the class file into a JavaClass object.
If succesful, the new JavaClass is entered into the Repository.
the parsed JavaClass throws: IOException - if the class cannot be parsed |
|
|