public final class ClassParser
extends java.lang.Object
Constructor and Description |
---|
ClassParser(java.io.InputStream file,
java.lang.String file_name)
Parse class from the given stream.
|
Modifier and Type | Method and Description |
---|---|
JavaClass |
parse()
Parse the given Java class file and return an object that represents
the contained data, i.e., constants, methods, fields and commands.
|
public ClassParser(java.io.InputStream file, java.lang.String file_name)
file
- Input streamfile_name
- File namepublic JavaClass parse() throws java.io.IOException, ClassFormatException
java.io.IOException
ClassFormatException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.