All Packages Class Hierarchy This Package Previous Next Index
Interface lti.java.jcf.JcfClassOutput
- public interface interface JcfClassOutput
- extends DataOutput
JcfClassOutput extends the basic data output functionality in DataOutput,
while adding methods to facilitate writing class file specific data types.
-
writeCPRef(int)
- Write the index of a constant pool entry.
-
writeIntVerbatim(int)
- Write an int value (usually bit flags) that is not a magnitude.
-
writeShortMax(int, int)
- Write a short value, where the maximum value that short can have
is less than or equal to maxValue.
-
writeShortVerbatim(int)
- Write a short value (usually bit flags) that is not a magnitude.
writeCPRef
public abstract void writeCPRef(int cpIndex) throws IOException
- Write the index of a constant pool entry.
- Parameters:
- cpIndex - The index of the entry.
writeShortVerbatim
public abstract void writeShortVerbatim(int value) throws IOException
- Write a short value (usually bit flags) that is not a magnitude.
writeShortMax
public abstract void writeShortMax(int value,
int maxValue) throws IOException
- Write a short value, where the maximum value that short can have
is less than or equal to maxValue.
writeIntVerbatim
public abstract void writeIntVerbatim(int value) throws IOException
- Write an int value (usually bit flags) that is not a magnitude.
All Packages Class Hierarchy This Package Previous Next Index