public abstract class FilterWriter extends Writer
FilterWriter本身提供了将所有请求传递给包含流的默认方法。 
       FilterWriter的FilterWriter应该覆盖其中一些方法,并且还可以提供其他方法和字段。 
      | Modifier | Constructor and Description | 
|---|---|
| protected  | FilterWriter(Writer out)
              创建一个新的过滤的作者。 
             | 
protected Writer out
protected FilterWriter(Writer out)
out - 提供底层流的Writer对象。 
           NullPointerException - 如果 
            out是 
            null 
           public void write(int c)
           throws IOException 
          write在 
            Writer 
           c - int指定要写入的字符 
           IOException - 如果发生I / O错误 
           public void write(char[] cbuf,
                  int off,
                  int len)
           throws IOException 
          write在 
            Writer 
           cbuf - 要写入的字符缓冲区 
           off - 从中开始读取字符的偏移量 
           len - 要写入的字符数 
           IOException - 如果发生I / O错误 
           public void write(String str, int off, int len) throws IOException
write在 
            Writer 
           str - 要写入的字符串 
           off - 从中开始读取字符的偏移量 
           len - 要写入的字符数 
           IOException - 如果发生I / O错误 
           public void flush()
           throws IOException 
          flush在接口 
            Flushable 
           flush在 
            Writer类 
           IOException - 如果发生I / O错误 
           public void close()
           throws IOException 
          Writer 
          close在接口 
            Closeable 
           close中的 
            AutoCloseable 
           close在 
            Writer类 
           IOException - 如果发生I / O错误 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.