java.io
abstract public class: FilterWriter [javadoc |
source]
java.lang.Object
java.io.Writer
java.io.FilterWriter
All Implemented Interfaces:
Flushable, Closeable, Appendable
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.
- author:
Mark - Reinhold
- since:
JDK1.1 -
| Field Summary |
|---|
| protected Writer | out | The underlying character-output stream. |
| Constructor: |
protected FilterWriter(Writer out) {
super(out);
this.out = out;
}
Create a new filtered writer. Parameters:
out - a Writer object to provide the underlying stream.
Throws:
NullPointerException - if out is null
|
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |