|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.bytecode.ByteCodeWriter
public class ByteCodeWriter
Interface to the bytecode compiler.
Method Summary | |
---|---|
JavaClass |
getJavaClass()
Returns the java class for the writer. |
void |
write(byte[] buffer,
int offset,
int length)
Writes a buffer |
void |
write(int v)
Writes a byte |
void |
writeClass(java.lang.String className)
Writes a class constant. |
void |
writeDouble(double v)
Writes a double |
void |
writeFloat(float v)
Writes a float |
void |
writeInt(int v)
Writes an int |
void |
writeIntUTF8(java.lang.String value)
Writes UTF-8 |
void |
writeLong(long v)
Writes an int |
void |
writeShort(int v)
Writes a short. |
void |
writeUTF8(ByteBuffer bb,
java.lang.String value)
Writes UTF-8 |
void |
writeUTF8(java.lang.String value)
Writes UTF-8 |
void |
writeUTF8Const(java.lang.String value)
Writes a UTF8 constant. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public JavaClass getJavaClass()
public void writeClass(java.lang.String className) throws java.io.IOException
java.io.IOException
public void writeUTF8Const(java.lang.String value) throws java.io.IOException
java.io.IOException
public void write(int v) throws java.io.IOException
java.io.IOException
public void write(byte[] buffer, int offset, int length) throws java.io.IOException
java.io.IOException
public void writeShort(int v) throws java.io.IOException
java.io.IOException
public void writeInt(int v) throws java.io.IOException
java.io.IOException
public void writeLong(long v) throws java.io.IOException
java.io.IOException
public void writeFloat(float v) throws java.io.IOException
java.io.IOException
public void writeDouble(double v) throws java.io.IOException
java.io.IOException
public void writeUTF8(java.lang.String value) throws java.io.IOException
java.io.IOException
public void writeIntUTF8(java.lang.String value) throws java.io.IOException
java.io.IOException
public void writeUTF8(ByteBuffer bb, java.lang.String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |