public final class ClassParser
extends java.lang.Object
| Constructor | Description |
|---|---|
ClassParser(java.io.InputStream inputStream) |
Parse class from the given stream.
|
| Modifier and Type | Method | 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 inputStream)
inputStream - Input streampublic JavaClass parse() throws java.io.IOException, ClassFormatException
java.io.IOException - If an I/O occurs reading the byte codeClassFormatException - If the byte code is invalidCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.