| Modifier and Type | Field and Description |
|---|---|
| private Writer | |
| private static int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | WriterOutputBuffer(Writer writer)
Initializes a WriterOutputBuffer by creating an instance of a BufferedWriter. |
| Modifier and Type | Method and Description |
|---|---|
| public OutputBuffer | |
| public OutputBuffer | append(char[] s, int from, int to)
Implements com.
|
| public OutputBuffer | append(char ch)
Implements com.
|
| public String |
| _writer | back to summary |
|---|---|
| private Writer _writer | |
| BUFFER_SIZE | back to summary |
|---|---|
| private static int BUFFER_SIZE | |
| KB | back to summary |
|---|---|
| private static final int KB | |
| WriterOutputBuffer | back to summary |
|---|---|
| public WriterOutputBuffer(Writer writer) Initializes a WriterOutputBuffer by creating an instance of a BufferedWriter. The size of the buffer in this writer may have a significant impact on throughput. | |
| append | back to summary |
|---|---|
| public OutputBuffer append(String s) Implements com. | |
| append | back to summary |
|---|---|
| public OutputBuffer append(char[] s, int from, int to) Implements com. | |
| append | back to summary |
|---|---|
| public OutputBuffer append(char ch) Implements com. | |
| close | back to summary |
|---|---|
| public String close() Implements com. | |