org.apache.xalan.xsltc.runtime.output
Class WriterOutputBuffer
java.lang.Object
org.apache.xalan.xsltc.runtime.output.WriterOutputBuffer
- All Implemented Interfaces:
- OutputBuffer
class WriterOutputBuffer
- extends java.lang.Object
- implements OutputBuffer
Constructor Summary |
WriterOutputBuffer(java.io.Writer writer)
Initializes a WriterOutputBuffer by creating an instance of a
BufferedWriter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KB
private static final int KB
- See Also:
- Constant Field Values
BUFFER_SIZE
private static int BUFFER_SIZE
_writer
private java.io.Writer _writer
WriterOutputBuffer
public WriterOutputBuffer(java.io.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. Solaris prefers a larger
buffer, while Linux works better with a smaller one.
close
public java.lang.String close()
- Specified by:
close
in interface OutputBuffer
append
public OutputBuffer append(java.lang.String s)
- Specified by:
append
in interface OutputBuffer
append
public OutputBuffer append(char[] s,
int from,
int to)
- Specified by:
append
in interface OutputBuffer
append
public OutputBuffer append(char ch)
- Specified by:
append
in interface OutputBuffer