public final class ClassParser
extends java.lang.Object
| Constructor and Description |
|---|
ClassParser(java.io.InputStream inputStream)
Parses class from the given stream.
|
| Modifier and Type | Method and Description |
|---|---|
JavaClass |
parse()
Parses 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 inputStream)
inputStream - Input streampublic JavaClass parse() throws java.io.IOException, ClassFormatException
java.io.IOException - if an I/O error occurs.ClassFormatException - if a class is malformed or cannot be interpreted as a class fileCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.