OutputStream

实例方法:

  • void close()
  • void flush()
  • void write(byte[] b)
  • void write(byte[] b, int offset, int len)
  • abstract void write(int b)

类方法:

  • static OutputStream nullOutputStream()

InputStream

实例方法:

  • int available()
  • void close()
  • void mark(int readlimit)
  • boolean markSupported()
  • int read(byte[] b)
  • int read(byte[] b, int offset, int len)
  • byte[] readAllBytes()
  • int readNBytes(byte[] b, int offset, int len)
  • byte[] readNBytes(int len)
  • void reset()
  • long skip(long n)
  • long transferTo(OutputStream out)
  • abstract int read()

类方法:

  • static InputStream nullInputStream()