public abstract class TWriter extends Object implements TAppendable, TCloseable, TFlushable
Modifier | Constructor and Description |
---|---|
protected |
TWriter() |
protected |
TWriter(Object lock) |
Modifier and Type | Method and Description |
---|---|
TWriter |
append(char c) |
TWriter |
append(TCharSequence csq) |
TWriter |
append(TCharSequence csq,
int start,
int end) |
void |
write(char[] buf) |
abstract void |
write(char[] buf,
int offset,
int count) |
void |
write(int oneChar) |
void |
write(String str) |
void |
write(String str,
int offset,
int count) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
flush
protected final Object lock
protected TWriter()
protected TWriter(Object lock)
public void write(char[] buf) throws IOException
IOException
public abstract void write(char[] buf, int offset, int count) throws IOException
IOException
public void write(int oneChar) throws IOException
IOException
public void write(String str) throws IOException
IOException
public void write(String str, int offset, int count) throws IOException
IOException
public TWriter append(char c) throws IOException
append
in interface TAppendable
IOException
public TWriter append(TCharSequence csq) throws IOException
append
in interface TAppendable
IOException
public TWriter append(TCharSequence csq, int start, int end) throws IOException
append
in interface TAppendable
IOException
Copyright © 2019. All rights reserved.