Method Summary |
|
public void | close() |
public void | flush() Flush this Device. |
public long | getSize() returns the number of bytes written to this data sink. |
public boolean | isSizePreserving() |
public Device | print(char c) Print a character. |
public Device | print(char[] c) Print a character array. |
public Device | print(char[] c, int start, int len) Print len characters from the specified char array starting at offset
off to this Device. |
public Device | print(String s) Print a String. |
public Device | print(int i) Print an integer. |
public Device | print(Object o) |
public void | resetSize() reset the number of bytes to zero. |
public Device | write(int c) Writes the specified byte to this data output stream. |
public Device | write(byte b) Writes b.length bytes from the specified byte array to this
output stream. |
public Device | write(byte b, int off, int len) Writes len bytes from the specified byte array starting at offset
off to this Device. |