Methods Summary |
---|
public void | close()Closes this writer. This implementation closes the target writer.
synchronized (lock) {
out.close();
}
|
public void | flush()Flushes this writer to ensure all pending data is sent out to the target
writer. This implementation flushes the target writer.
synchronized (lock) {
out.flush();
}
|
public void | write(char[] buffer, int offset, int count)Writes {@code count} characters from the char array {@code buffer}
starting at position {@code offset} to the target writer.
// BEGIN android-note
// changed array notation to be consistent with the rest of harmony
// END android-note
synchronized (lock) {
out.write(buffer, offset, count);
}
|
public void | write(int oneChar)Writes the specified character {@code oneChar} to the target writer. Only the
two least significant bytes of the integer {@code oneChar} are written.
synchronized (lock) {
out.write(oneChar);
}
|
public void | write(java.lang.String str, int offset, int count)Writes {@code count} characters from the string {@code str} starting at
position {@code index} to this writer. This implementation writes
{@code str} to the target writer.
synchronized (lock) {
out.write(str, offset, count);
}
|