Complete summary and comparison of Java Io processing classes

Source: Internet
Author: User

 

Compare the classes related to input and output, and hope to help you

Original article http://www.java2000.net/viewthread.jsp? Tid = 1225

Input Output Data Type Description  
Inputstream Outputstream Byte Bottom Layer  
  Bytearrayinputstream   Bytearrayoutputstream Byte With byte Buffer Buffer
  Fileinputstream   Fileoutputstream Byte Directly operate on files  
  Filterinputstream   Filteroutputstream Byte Filters out the superclass of the output stream.  
    Bufferinputstream     Bufferedoutputstream Byte Buffer data Buffer
    Checkedinputstream     Checkedoutputstream Byte Data Verification  
    Cipherinputstream     Cipheroutputstream Byte Encrypted data  
    Datainputstream     Dataoutputstream Basic Type Process all basic types  
    Deflaterinputstream     Deflateroutputstream Byte Deflate Compression  
            Gzipoutputstream Byte Gzip compressed write  
            Zipoutputstream Byte Zip write  
              Jaroutputstream Byte Jar write  
    Digestinputstream     Digestoutputstream Byte Summary information  
    Inflaterinputstream     Inflateroutputstream Byte Compressed read  
      Gzipinputstream           Byte Gzip read  
      Zipinputstream           Byte Zip Processing  
        Jarinputstream           Byte Jar Processing  
    Linenumberinputstream           Byte Outdated  
    ; Progressmonitorinputstream           Byte Progress Monitoring  
    ; Pushbackinputstream           Byte Unreadable capability  
  Objectinputstream           Byte Serialization  
  ; Pipedinputstream   ; Pipedoutputstream Byte Connect input and output streams  
  Sequenceinputstream           Byte Continuous reading of Multiple Input streams  
  Stringbufferinputstream           String Outdated  
                         
Reader Writer Char, string    
  Bufferedreader   Bufferedwriter   Buffered character operations Buffer
    Linenumberreader             Buffer character input stream of the trace row number Buffer
                         
  Chararrayreader   Chararraywriter   Character Array Buffer Buffer
                         
  Filterreader   Filterwriter   Read/write filtered streams  
    ; Pushbackreader             Allow characters to be pushed back Buffer
                         
  Inputstreamreader   Outputstreamwriter   The bridge between byte stream and byte stream Encoding type
    Filereader     Filewriter   Read/write character files  
                         
  ; Pipedreader   ; Pipedwriter   The sent streams. Buffer
                         
  Stringreader   Stringwriter   Conversion of strings and streams  
                         
            Printwriter   Output streaming objects to text
Format

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.