当前位置:网站首页>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
边栏推荐
- C # basic knowledge (2)
- Comparable interface and comparator interface
- pycuda._ driver. LogicError: explicit_ context_ dependent failed: invalid device context - no currently
- [issue 16] golang's one-year experience in developing Purdue Technology
- In 2022, 6G development has indeed warmed up
- Recursion and recursion
- EPF: a fuzzy testing framework for network protocols based on evolution, protocol awareness and coverage guidance
- Runtime. getRuntime(). totalMemory/maxMemory()
- 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?
- How the computer flushes the local DNS cache
猜你喜欢

How to switch between dual graphics cards of notebook computer

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

Pat grade A - 1164 good in C (20 points)

Programming language (1)

The overseas listing of Shangmei group received feedback, and brands such as Han Shu and Yiye have been notified for many times and received attention

Current detection circuit - including op amp current scheme

Shell script three swordsman awk

Qtoolbutton available signal

How to quickly build high availability of service discovery

Hcip day 14 notes
随机推荐
Mongoose the table associated with the primary key, and automatically bring out the data of another table
炒股开户佣金优惠怎么才能获得,网上开户安全吗
Fashion cloud interview questions series - JS high-frequency handwritten code questions
2022 a special equipment related management (elevator) examination questions and a special equipment related management (elevator) examination contents
Take you to master the formatter of visual studio code
Design of logic level conversion in high speed circuit
Loop compensation - explanation and calculation of first-order, second-order and op amp compensation
2022.02.14
Minimum commission for stock account opening. Stock account opening is free. Is online account opening safe
2022 chemical automation control instrument examination content and chemical automation control instrument simulation examination
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
How to understand the gain bandwidth product operational amplifier gain
The difference between single power amplifier and dual power amplifier
[15th issue] Tencent PCG background development internship I, II and III (OC)
C # basic knowledge (3)
Shiftvit uses the precision of swing transformer to outperform the speed of RESNET, and discusses that the success of Vit does not lie in attention!
540. Single element in ordered array
Qtoolbutton - menu and popup mode
D25:sequence search (sequence search, translation + problem solving)
股票开户佣金最低的券商有哪些大家推荐一下,手机上开户安全吗