- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
外文翻译Java IO 系统
外文翻译(英文)
The Java I/O System
Creating a good input/output (I/O) system is one of the more difficult tasks for a language designer. This is evidenced by the number of different approaches.
The challenge seems to be in covering all possibilities. Not only are there different sources and sinks of I/O that you want to communicate with (files, the console, network connections, etc.), but you need to talk to them in a wide variety of ways (sequential, random-access, buffered, binary, character, by lines, by words, etc.). The Java library designers attacked this problem by creating lots of classes. In fact, there are so many classes for Java’s I/O system that it can be intimidating at first (ironically, the Java I/O design actually prevents an explosion of classes). There was also a significant change in the I/O library after Java i.o, when the original byte-oriented library was supplemented with char-oriented, Unicode-based I/O classes. The nio classes (for new I/O, a name we’ll still be using years from now even though they were introduced in JDK 1.4 and so are already old) were added for improved performance and functionality. As a result, there are a fair number of classes to learn before you understand enough of Java’s I/O picture that you can use it properly. In addition, it’s rather important to understand the evolution of the I/O library, even if your first reaction is Don’t bother me with history, just show me how to use it! The problem is that without the historical perspective, you will rapidly become confused with some of the classes and when you should and shouldn’t use them.
Input and output
Programming language I/O libraries often use the abstraction of a stream, which represents any data source or sink as an object capable of producing or receiving pieces of data. The stream hides the details of what happens to the data inside the actual I/O device.
The Java library classes for I/O are divided by input and output, as you can see by looking at the class
您可能关注的文档
- 基于SpriteKit引擎iOS平台某游戏的设计与实现开题报告推荐.doc
- 基于SSH的医院门诊管理系统的设计与实现计算机软件专业推荐.doc
- 基于SSH的中小型餐饮企业的网上订餐系统的设计与实现推荐.doc
- 基于SSH的高校奖学金申请与评定系统的设计与实现计算机软件专业参考.docx
- 基于STC12C5A16S2单片机电子水平仪设计推荐.doc
- 基于STC89C52RC万年历程序推荐.doc
- 基于STC89C52RC单片机的自主行驶消防预警车参考.docx
- 基于STC89C52单片机的太阳能智能充电系统外文翻译推荐.doc
- 基于STC89C52的温控系统设计推荐.doc
- 基于STC89C52和DS18B20的温度检测装置推荐.doc
最近下载
- 我与诗歌有个约会综合实践活动方案.docx VIP
- 中国古代天文科技成就.ppt VIP
- 应急执法课件.pptx VIP
- 2025年无人机理论考试题库附参考答案(完整版).docx VIP
- 2026年辽宁石化职业技术学院单招职业适应性测试题库必考题.docx VIP
- 2025AICon全球人工智能开发与应用大会-上海站:昇腾推理技术的优化实践 .pptx VIP
- 河南省直第三人医院.doc VIP
- CAAC无人机理论考试题库附参考答案详解【完整版】.docx VIP
- 《策略三周期嵌套之理论篇(1)—经济周期综述—我们为.doc VIP
- 三周期嵌套之理论篇(4):周期嵌套的实证研究.pdf VIP
原创力文档


文档评论(0)