java.io
Class BufferedWriter
java.lang.Object
java.io.Writer
java.io.BufferedWriter
public class BufferedWriter
- extends Writer
NOTE: Text writing is not synchronized either like standard Java.
- Author:
- Sven Köhler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedWriter
@Deprecated
public BufferedWriter(OutputStream os)
- Deprecated. use
OutputStreamWriter
instead.
BufferedWriter
public BufferedWriter(Writer out)
- In the standard Java API the constructor accepts a Writer
object, such as OutputStreamWriter.
- Parameters:
out
-
BufferedWriter
public BufferedWriter(Writer out,
int size)
close
public void close()
throws IOException
- Specified by:
close
in class Writer
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush
in class Writer
- Throws:
IOException
newLine
public void newLine()
throws IOException
- Throws:
IOException
append
public Writer append(CharSequence str,
int start,
int end)
throws IOException
- Overrides:
append
in class Writer
- Throws:
IOException
write
public void write(char[] c,
int off,
int len)
throws IOException
- Specified by:
write
in class Writer
- Throws:
IOException
write
public void write(int c)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
write
public void write(String str,
int off,
int len)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException