当前位置:网站首页>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
边栏推荐
- How to restore the factory settings of HP computer
- Unity shader visualizer shader graph
- Pandaoxi's video
- [network security] what is emergency response? What indicators should you pay attention to in emergency response?
- D27:mode of sequence (maximum, translation)
- [automation operation and maintenance novice village] flask-2 certification
- How to solve win10 black screen with only mouse arrow
- Day30-t540-2022-02-14-don't answer by yourself
- Unsafe and CAS principle
- 2022.02.13
猜你喜欢
Pyqt5 sensitive word detection tool production, operator's Gospel
MLX90614 driver, function introduction and PEC verification
Pyqt5 sensitive word detection tool production, operator's Gospel
SDMU OJ#P19. Stock trading
2022.02.13
Scratch uses runner Py run or debug crawler
Analysis of refrigeration and air conditioning equipment operation in 2022 and examination question bank of refrigeration and air conditioning equipment operation
Sort merge sort
Pointer concept & character pointer & pointer array yyds dry inventory
Runtime. getRuntime(). totalMemory/maxMemory()
随机推荐
Yyds dry goods inventory Prometheus alarm Art
Hcip day 12 notes
Hcip 13th day notes
Sword finger offer day 4 (Sword finger offer 03. duplicate numbers in the array, sword finger offer 53 - I. find the number I in the sorted array, and the missing numbers in sword finger offer 53 - ii
MLX90614 driver, function introduction and PEC verification
Sort merge sort
Pyqt5 sensitive word detection tool production, operator's Gospel
2022 t elevator repair registration examination and the latest analysis of T elevator repair
Esp-idf turns off serial port log output.
Summary of fluent systemchrome
Exclusive download! Alibaba cloud native brings 10 + technical experts to bring "new possibilities of cloud native and cloud future"
2022 chemical automation control instrument examination content and chemical automation control instrument simulation examination
Learning notes of raspberry pie 4B - IO communication (SPI)
Hcip day 14 notes
[untitled]
In VS_ In 2019, scanf and other functions are used to prompt the error of unsafe functions
Get current JVM data
2022 free examination questions for hoisting machinery command and hoisting machinery command theory examination
Pyqt5 sensitive word detection tool production, operator's Gospel
Maxwell equation and Euler formula - link