Public class BufferedWriter extends Writer
Constructor | Description |
---|---|
BufferedWriter (Writer out) | The function of this constructor is to create the buffered writer object for output character stream with default buffer size. |
BufferedWriter (writes out, int n) | The function of this constructor is to create the buffered writer object for output character stream with represented buffer size. |
Method | Description |
---|---|
void close() | The function of this method is to close the current output stream after flushing. |
void flush () | The function of this method is to flush the output stream. |
void newLine () | The function of this method is to write a new line of characters |
void write (string s int off, int len) | The function of this method is to write a part of string |