当前位置:网站首页>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
边栏推荐
- Design of logic level conversion in high speed circuit
- D26: the nearest number (translation + solution)
- How to restore the factory settings of HP computer
- Maxwell equation and Euler formula - link
- Comparable interface and comparator interface
- Loop compensation - explanation and calculation of first-order, second-order and op amp compensation
- Comment obtenir une commission préférentielle pour l'ouverture d'un compte en bourse? Est - ce que l'ouverture d'un compte en ligne est sécurisée?
- Creation of the template of the password management software keepassdx
- 2022 free examination questions for hoisting machinery command and hoisting machinery command theory examination
- Overview of Yunxi database executor
猜你喜欢

Fluent learning (5) GridView

User login function: simple but difficult

"Learning notes" recursive & recursive

How to restore the factory settings of HP computer

IDENTITY

How to solve the problem of requiring a password when accessing your network neighborhood on your computer

2022 chemical automation control instrument examination content and chemical automation control instrument simulation examination

Qtoolbutton - menu and popup mode

The difference between single power amplifier and dual power amplifier
![[Android reverse] use the DB browser to view and modify the SQLite database (copy the database file from the Android application data directory | use the DB browser tool to view the data block file)](/img/6e/3ffa91154a718b6ace6c8ca87c5995.jpg)
[Android reverse] use the DB browser to view and modify the SQLite database (copy the database file from the Android application data directory | use the DB browser tool to view the data block file)
随机推荐
QT creator source code learning note 05, how does the menu bar realize plug-in?
MLX90614 driver, function introduction and PEC verification
Arc135 partial solution
How to solve the problem of computer networking but showing no Internet connection
股票开户佣金最低的券商有哪些大家推荐一下,手机上开户安全吗
Exclusive download! Alibaba cloud native brings 10 + technical experts to bring "new possibilities of cloud native and cloud future"
540. Single element in ordered array
2022 examination of safety production management personnel of hazardous chemical production units and examination skills of safety production management personnel of hazardous chemical production unit
2/14 (regular expression, sed streaming editor)
2.14 summary
User login function: simple but difficult
EPF: a fuzzy testing framework for network protocols based on evolution, protocol awareness and coverage guidance
[untitled]
File copy method
How about agricultural futures?
Qtoolbutton - menu and popup mode
Quick one click batch adding video text watermark and modifying video size simple tutorial
A treasure open source software, cross platform terminal artifact tabby
Ppt image processing
The difference between single power amplifier and dual power amplifier