public final class ClassParser extends Object
Constructor and Description |
---|
ClassParser(InputStream inputStream)
Parses class from the given stream.
|
public ClassParser(InputStream inputStream)
inputStream
- Input streampublic JavaClass parse() throws IOException, ClassFormatException
IOException
- If an I/O occurs reading the byte codeClassFormatException
- If the byte code is invalidCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.