public class BufferedWriter extends Writer
Constructor and Description |
---|
BufferedWriter(Writer out) |
BufferedWriter(Writer out,
int size) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
newLine() |
void |
write(char[] cbuf,
int offset,
int count)
Note: an implementation of this method should use the 'lock' object
to synchronize with other methods ...
|
void |
write(int oneChar) |
void |
write(String str,
int offset,
int count) |
public BufferedWriter(Writer out)
public BufferedWriter(Writer out, int size)
public void close() throws IOException
close
in class Writer
IOException
public void flush() throws IOException
flush
in class Writer
IOException
public void newLine() throws IOException
IOException
public void write(int oneChar) throws IOException
write
in class Writer
IOException
public void write(char[] cbuf, int offset, int count) throws IOException
Writer
write
in class Writer
IOException
public void write(String str, int offset, int count) throws IOException
write
in class Writer
IOException