|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.util.ClassFileBytesDisassembler
This class is intended to be subclassed to disassemble classfile bytes onto a String using the proper line separator.
Field Summary | |
static int |
DEFAULT
The mode is the default mode to disassemble IClassFileReader. |
static int |
DETAILED
The mode is the detailed mode to disassemble IClassFileReader. |
Constructor Summary | |
ClassFileBytesDisassembler()
|
Method Summary | |
abstract String |
disassemble(byte[] classFileBytes,
String lineSeparator)
Answers back the disassembled string of the classfile bytes using the default mode. |
abstract String |
disassemble(byte[] classFileBytes,
String lineSeparator,
int mode)
Answers back the disassembled string of the classfile bytes according to the mode. |
abstract String |
getDescription()
Answers a readable short description of this disassembler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DETAILED
public static final int DEFAULT
Constructor Detail |
public ClassFileBytesDisassembler()
Method Detail |
public abstract String disassemble(byte[] classFileBytes, String lineSeparator) throws ClassFormatException
classFileBytes
- The bytes of the classfilelineSeparator
- the line separator to use.
ClassFormatException
- if the classfile bytes are ill-formedpublic abstract String disassemble(byte[] classFileBytes, String lineSeparator, int mode) throws ClassFormatException
classFileBytes
- The bytes of the classfilelineSeparator
- the line separator to use.mode
- the mode used to disassemble the IClassFileReader
ClassFormatException
- if the classfile bytes are ill-formedpublic abstract String getDescription()
|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |