| java.lang.Object java.io.Writer java.io.FilterWriter
FilterWriter | abstract public class FilterWriter extends Writer (Code) | | Abstract class for writing filtered character streams.
The abstract class FilterWriter itself
provides default methods that pass all requests to the
contained stream. Subclasses of FilterWriter
should override some of these methods and may also
provide additional methods and fields.
version: 1.11, 00/02/02 author: Mark Reinhold since: JDK1.1 |
Field Summary | |
protected Writer | out The underlying character-output stream. |
Method Summary | |
public void | close() Close the stream. | public void | flush() Flush the stream. | public void | write(int c) Write a single character. | public void | write(char cbuf, int off, int len) Write a portion of an array of characters. | public void | write(String str, int off, int len) Write a portion of a string. |
out | protected Writer out(Code) | | The underlying character-output stream.
|
FilterWriter | protected FilterWriter(Writer out)(Code) | | Create a new filtered writer.
Parameters: out - a Writer object to provide the underlying stream. throws: NullPointerException - if out is null |
write | public void write(char cbuf, int off, int len) throws IOException(Code) | | Write a portion of an array of characters.
Parameters: cbuf - Buffer of characters to be written Parameters: off - Offset from which to start reading characters Parameters: len - Number of characters to be written exception: IOException - If an I/O error occurs |
write | public void write(String str, int off, int len) throws IOException(Code) | | Write a portion of a string.
Parameters: str - String to be written Parameters: off - Offset from which to start reading characters Parameters: len - Number of characters to be written exception: IOException - If an I/O error occurs |
|
|