| java.lang.Object java.io.Writer java.io.FilterWriter nice.tools.testsuite.output.OutputWriter
OutputWriter | public class OutputWriter extends FilterWriter (Code) | | This class writes the output statements of the test engine to the underlying writer.
The output is buffered in a StringBuffer and written to out if the user flushes or
closes the writer. This filter writer supports marking and reseting.
author: Alex Greif alex.greif@web.de version: $Id: OutputWriter.java,v 1.4 2002/09/07 21:05:04 agreif Exp $ |
Constructor Summary | |
public | OutputWriter(Writer out) Creates an OutputWriter instance with the destination writer. |
Method Summary | |
public void | close() Close the stream. | public void | flush() Flush the stream. | public void | mark() Marks the current position in the buffer. | public void | reset() resets the buffer to the marked position. | public void | write(String str) Write a string. | public void | write(char[] chArray) Write an array of characters. | public void | write(String str, int offset, int length) Write a portion of a string. | public void | write(int ch) Write a single character. | public void | write(char[] chArray, int offset, int length) Write a portion of an array of characters. |
OutputWriter | public OutputWriter(Writer out)(Code) | | Creates an OutputWriter instance with the destination writer.
Parameters: out - TODO |
mark | public void mark()(Code) | | Marks the current position in the buffer.
|
reset | public void reset()(Code) | | resets the buffer to the marked position.
|
write | public void write(char[] chArray) throws IOException(Code) | | Write an array of characters.
Parameters: chArray - TODO exception: IOException - If an I/O error occurs |
write | public void write(String str, int offset, int length) throws IOException(Code) | | Write a portion of a string.
Parameters: str - TODO Parameters: offset - TODO Parameters: length - TODO exception: IOException - If an I/O error occurs |
write | public void write(int ch)(Code) | | Write a single character.
Parameters: ch - TODO |
write | public void write(char[] chArray, int offset, int length) throws IOException(Code) | | Write a portion of an array of characters.
Parameters: chArray - TODO Parameters: offset - TODO Parameters: length - TODO exception: IOException - If an I/O error occurs |
|
|