-
- All Implemented Interfaces:
public abstract class StructureBase class for all structures defined in the class file format. Provides common services such as reading, writing and debugging.
-
-
Constructor Summary
Constructors Constructor Description Structure()
-
Method Summary
-
-
Method Detail
-
read
final Unit read(DataInput input)
Read this structure from the given DataInput. Expects DataInput to be in JVM class file format and just before a structure of this kind.
If the system property SYSTEM_PROPERTY_DEBUG is set, logging output is printed.
- Parameters:
input- the DataInput for reading
-
write
final Unit write(DataOutput output)
Write this structure to the given DataOutput. The written bytes are in JVM class file format.
If the system property SYSTEM_PROPERTY_DEBUG is set, logging output is printed.
- Parameters:
output- the DataOutput for writing
-
-
-
-