Stream--io in Java

Source: Internet
Author: User

First, the classification of the flow

Multiple stream types (streams or abstract classes) are defined in the Java.io package for input/output functions, which can be categorized from different angles:

      • press direction of the data flow different can be divided into input stream and output stream
        • read data from file as input stream, write data to file as output stream
      • press processing data units different can be divided into byte stream and character stream
        • bytes (bytes: byte,1byte=8bit) data are byte streams; processing characters ( 1 characters (two bytes) The data is a character stream
      • function different can be divided into node stream and process flow

All stream types provided by J2SDK (within the java.io package) inherit the following four abstract stream types, respectively:

  

Stream--io in Java

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.