J2SE知识点摘记(十六)

1、         IO包中的类层次
                        ┌BufferedInputStream
                        ├DataInputStream
              ┌FilterInputStream┼LineNumberInputStream
              ├FileInputStream └PushbackInputStream
              ├ByteArrayInputStream
     ┌InputStream──┼PipedInputStream
     │        ├SequenceInputStream
     │        ├StringBufferInputStream
     │        └ObjectInputStream ┌BufferedOutputStream
     │         ┌FilterOutputStream┼DataOutputStream
  Object┤         ├FileOutputStream └PrintStream
     ├OutputStream──┼ByteArrayOutputStream
     ├File       ├PipedOutputStream
     ├FileDescriptor └ObjectOutputStream
     ├ObjdecStreamClass
     ├RandomAccessFile
     └StreamTokenizer

Reader            InputStream
   ├BufferedReader      BufferedInputStream
   │  └LineNumberReader  LineNumberReader
   ├CharArrayReader     ByteArrayInputStream
   ├InputStreamReader     (none)
   │  └FileReader     FileInputStream
   ├FilterReader       FilterInputStream
   │  └PushbackReader   PushbackInputStream
   ├PipedReader        PipedInputStream
   └StringReader       StringBufferInputStream

  Write             OutputStream
  ├BufferedWriter       BufferedOutputStream
  ├CharArrayWriter       ByteArrayOutputStream
  ├OutputStreamWriter     (none)
  │  └FileWriter       FileOutputStream
  ├FilterWriter         FilterOutputStream
  ├PrintWriter         PrintStream
  ├PipedWriter         PipedOutputStream
  └StringWriter         (none)

posted on 2013-07-11 12:36  我竟然比我还帅  阅读(126)  评论(0编辑  收藏  举报

导航