Method Summary |
|
public static char | base64encode(int d) Converts the digit to its base64 encoding. |
public void | call(String method, Object[] args) Writes a complete method call. |
public void | completeCall() |
public void | init(OutputStream os) |
public void | print(String s) Prints a string as ascii to the stream. |
public void | printBytes(byte[] data, int offset, int length) Prints a byte array to the stream, properly encoded in base64. |
public void | printDate(Calendar calendar) Prints a date. |
public void | printInt(int v) Prints an integer to the stream. |
public void | printLong(long v) Prints a long to the stream. |
public void | printString(String v) Prints a string to the stream, properly encoded. |
public void | startCall(String method) |
public void | writeBoolean(boolean value) Writes a boolean value to the stream. |
public void | writeBytes(byte[] buffer, int offset, int length) Writes a byte array to the stream using base64 encoding. |
public void | writeCustomObject(Object object) Applications which override this can do custom serialization. |
public void | writeInt(int value) Writes an integer value to the stream. |
public void | writeListBegin(int length, String type) Writes the list header to the stream. |
public void | writeListEnd() Writes the tail of the list to the stream. |
public void | writeLocalDate(long time) Writes a date to the stream using ISO8609. |
public void | writeLong(long value) Writes a long value to the stream. |
public void | writeMapBegin(String type) Writes the map header to the stream. |
public void | writeMapEnd() Writes the tail of the map to the stream. |
public void | writeNull() Writes a null value to the stream. |
public void | writeObject(Object object) Writes a generic object. |
public void | writeRef(int value) Writes a reference. |
public void | writeRemote(String type, String url) Writes a remote object reference to the stream. |
public void | writeString(String value) Writes a string value to the stream using UTF-8 encoding. |
public void | writeUTCDate(long time) Writes a date to the stream using ISO8609. |