没有合适的资源?快使用搜索试试~ 我知道了~
首页java Streams and Serialization 详解
java Streams and Serialization 详解
4星 · 超过85%的资源 需积分: 10 13 下载量 38 浏览量
更新于2023-03-16
评论 1
收藏 322KB PDF 举报
详细讲解了java各种输入输出流(stream),以及serialization和externalization的用法与关系
资源详情
资源评论
资源推荐
Streams and Serialization Streams and Serialization
Streams and Serialization Streams and Serialization
Unit 12
Unit ObjectivesUnit Objectives
•Look at streams and Java's stream classes
•Examine the use of streams
•Understand Java’s “new” I/O paradigm (blocks)
•Understand the role of serialization
•Look at streams and Java's stream classes
•Examine the use of streams
•Understand Java’s “new” I/O paradigm (blocks)
•Understand the role of serialization
StreamsStreams
•Streams allow data to be written to or read from an external
source
•There are two main types of streams:
–Byte streams
(8-bit) operate on bytes and byte arrays
•InputStream / OutputStream classes and subclasses
–Character streams (16-bit unicode) operate on characters,
character arrays and strings
•Reader / Writer classes and subclasses
•Streams allow data to be written to or read from an external
source
•There are two main types of streams:
–Byte streams (8-bit) operate on bytes and byte arrays
•InputStream / OutputStream classes and subclasses
–Character streams
(16-bit unicode) operate on characters,
character arrays and strings
•Reader / Writer classes and subclasses
program
source/
target
reads/
writes
OperationsOperations
•Sequential operations on streams usually follow the same
pattern, irrespective of:
–Data source
–Data type
–Data destination
stream.open()
while (more information) {
read/write information
}
stream.close()
stream.open()
while (more information) {
read/write information
}
stream.close()
Class Hierarchy: Character Stream InputClass Hierarchy: Character Stream Input
Reader
BufferedReader
CharArrayReader
FilterReader
LineNumberReader
PushbackReader
Reader
InputStreamReader
PipedReader
StringReader
FileReader
剩余35页未读,继续阅读
liguanxing
- 粉丝: 4
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 2022年中国足球球迷营销价值报告.pdf
- 房地产培训 -营销总每天在干嘛.pptx
- 黄色简约实用介绍_汇报PPT模板.pptx
- 嵌入式系统原理及应用:第三章 ARM编程简介_3.pdf
- 多媒体应用系统.pptx
- 黄灰配色简约设计精美大气商务汇报PPT模板.pptx
- 用matlab绘制差分方程Z变换-反变换-zplane-residuez-tf2zp-zp2tf-tf2sos-sos2tf-幅相频谱等等.docx
- 网络营销策略-网络营销团队的建立.docx
- 电子商务示范企业申请报告.doc
- 淡雅灰低面风背景完整框架创业商业计划书PPT模板.pptx
- 计算模型与算法技术:10-Iterative Improvement.ppt
- 计算模型与算法技术:9-Greedy Technique.ppt
- 计算模型与算法技术:6-Transform-and-Conquer.ppt
- 云服务安全风险分析研究.pdf
- 软件工程笔记(完整版).doc
- 电子商务网项目实例规划书.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论2