当前位置:网站首页>IO flow principle and classification
IO flow principle and classification
2022-07-03 23:18:00 【Warm as jade L】
IO Flow principle and classification
Java IO Flow principle
I/O yes Input/Output Abbreviation ,I/O Technology is a very practical technology , Used to handle data transmission . As read / Writing documents , Network communication, etc .
Java In the program , For data input / Output operation to “ flow (stream)” By .
java.io A variety of “ flow ” Classes and interfaces , To get different kinds of data , And input or output data through methods .
Input input: Read external data ( disk 、 Data from storage devices such as optical disks ) To the program ( Memory ) in
Output output: Put the program ( Memory ) Data output to disk 、 CD and other storage devices
Classification of flows
According to the operation data unit, it can be divided into : Byte stream (8 bit), Character stream ( By character , Corresponding to several bytes )
According to the direction of data flow, it can be divided into : Input stream , Output stream
According to the different roles of flow, it can be divided into : Node flow , Processing flow / Packaging flow
| Abstract base class | Byte stream | Character stream |
|---|---|---|
| Input stream | InputStream | Reader |
| Output stream | OutputStream | Writer |
Java Of IO Current co involved 40 Multiple classes , It's actually very regular , All from the above 4 Derived from an abstract base class
The subclass names derived from these four classes are all suffixed with their parent class names
边栏推荐
- FPGA tutorial and Allegro tutorial - link
- ADB related commands
- Esp-idf turns off serial port log output.
- QT creator source code learning note 05, how does the menu bar realize plug-in?
- [15th issue] Tencent PCG background development internship I, II and III (OC)
- URLEncoder. Encode and urldecoder Decode processing URL
- pycuda._ driver. LogicError: explicit_ context_ dependent failed: invalid device context - no currently
- In VS_ In 2019, scanf and other functions are used to prompt the error of unsafe functions
- Live app source code, jump to links outside the station or jump to pages inside the platform
- Druids connect to mysql8.0.11
猜你喜欢

Schematic diagram of crystal oscillator clock and PCB Design Guide

IO flow review

Meta metauniverse female safety problems occur frequently, how to solve the relevant problems in the metauniverse?

In 2022, 6G development has indeed warmed up

How to solve the problem of computer networking but showing no Internet connection

Take you to master the formatter of visual studio code

How to solve win10 black screen with only mouse arrow

User login function: simple but difficult

2022 Guangdong Provincial Safety Officer a certificate third batch (main person in charge) simulated examination and Guangdong Provincial Safety Officer a certificate third batch (main person in charg

Interpretation of corolla sub low configuration, three cylinder power configuration, CVT fuel saving and smooth, safety configuration is in place
随机推荐
Hcip day 14 notes
Qtoolbutton - menu and popup mode
[issue 16] golang's one-year experience in developing Purdue Technology
X Opencv feature point detection and matching
[Android reverse] use DB browser to view and modify SQLite database (download DB browser installation package | install DB browser tool)
[note] glide process and source code analysis
D23:multiple of 3 or 5 (multiple of 3 or 5, translation + solution)
Meta metauniverse female safety problems occur frequently, how to solve the relevant problems in the metauniverse?
How to solve the problem of requiring a password when accessing your network neighborhood on your computer
Pan Yueming helps Germany's Rochester Zodiac custom wristwatch
Unique in China! Alibaba cloud container service enters the Forrester leader quadrant
User login function: simple but difficult
Es6~es12 knowledge sorting and summary
Label coco format data and format data in the upper left corner and lower right corner are mutually converted
Subset enumeration method
Ppt image processing
Programming language (2)
6.2 normalization 6.2.5 third normal form (3NF)
Ningde times and BYD have refuted rumors one after another. Why does someone always want to harm domestic brands?
Common mode interference of EMC