Home » openjdk-7 » java » io » [javadoc | source]
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.
Field Summary
protected  Writer out    The underlying character-output stream. 
Fields inherited from java.io.Writer:
lock
Constructor:
 protected FilterWriter(Writer out) 
    Create a new filtered writer.
    Parameters:
    out - a Writer object to provide the underlying stream.
    Throws:
    NullPointerException - if out is null
Method from java.io.FilterWriter Summary:
close,   flush,   write,   write,   write
Methods from java.io.Writer:
append,   append,   append,   close,   flush,   write,   write,   write,   write,   write
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.io.FilterWriter Detail:
 public  void close() throws IOException 
 public  void flush() throws IOException 
    Flushes the stream.
 public  void write(int c) throws IOException 
    Writes a single character.
 public  void write(char[] cbuf,
    int off,
    int len) throws IOException 
    Writes a portion of an array of characters.
 public  void write(String str,
    int off,
    int len) throws IOException 
    Writes a portion of a string.