Writer

实例方法:

  • Writer append(char c)
  • Writer append(CharSequence csq)
  • Writer append(CharSequence csq, int start, int end)
  • void write(char[] cbuf)
  • void write(int c)
  • void write(String str)
  • void write(String str, int off, int len)
  • abstract void close()
  • abstract void flush()
  • abstract void write(char[] cbuf, int off, int len)

类方法:

  • static Writer nullWriter()

Reader

实例方法:

  • void mark(int readAheadLimit)
  • boolean markSupported()
  • int read()
  • int read(char[] cbuf)
  • int read(CharBuffer target)
  • boolean ready()
  • void reset()
  • long skip(long n)
  • long transferTo(Writer out)
  • abstract void close()
  • abstract int read(char[] cbuf, int off, int len)

类方法:

  • static Reader nullReader()