Features of commonly used IO streams

Source: Internet
Author: User
Features of IO Common stream byte stream:    fileoutputstream: Byte output stream, can append output    bufferedoutputstream: buffered byte output stream                FileInputStream: Byte input stream.    bufferedinputstream: Buffered bytes input stream    character streams:    outputstreamwriter: Character output stream (can specify encoding of output)        InputStreamReader : Character input stream (can specify input encoding)        operation basic Data Flow    Dateoutputstream: basic data output stream    Dateinputstream: basic data input stream    memory operation Flow (bottom is Baty array, Writes memory temporarily, does not write to file, does not need to close)    byte    bytearrayinputstream: byte array input stream (buffer will grow automatically with the data being written)    Bytearrayoutputstream : byte array output stream        character    chararrayreader: character array input stream    chararraywriter: Character array output stream        string    stringreader: string input stream    StringWriter: String output stream    print stream (can print any type of data)    PrintWriter: Character print stream (can be automatically refreshed)    PrintStream: Byte print stream

Features of commonly used IO streams

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.