買這商品的人也買了...
-
$780CMMI: Guidelines for Process Integration and Product Improvement (Harcover)
-
$1,007C How to Program, 4/e
-
$650$553 -
$2,210$2,100 -
$680$537 -
$1,176Computer Organization and Design: The Hardware/Software Interface, 3/e(IE) (美國版ISBN:1558606041)
-
$490$441 -
$880$695 -
$880$695 -
$780$663 -
$680$578 -
$600$510 -
$650$507 -
$980$774 -
$750$593 -
$880$695 -
$780$663 -
$680$578 -
$550$468 -
$720$612 -
$1,200$948 -
$299$254 -
$990$891 -
$600$480 -
$3,390$3,221
相關主題
商品描述
Description
All of Java's Input/Output (I/O) facilities are based on streams, which provide simple ways to read and write data of different types. Java provides many different kinds of streams, each with its own application. The universe of streams is divided into four large categories: input streams and output streams, for reading and writing binary data; and readers and writers, for reading and writing textual (character) data. You're almost certainly familiar with the basic kinds of streams--but did you know that there's a CipherInputStream for reading encrypted data? And a ZipOutputStream for automatically compressing data? Do you know how to use buffered streams effectively to make your I/O operations more efficient? Java I/O, 2nd Edition has been updated for Java 5.0 APIs and tells you all you ever need to know about streams--and probably more.
A discussion of I/O wouldn't be complete without treatment of character sets and formatting. Java supports the Unicode standard, which provides definitions for the character sets of most written languages. Consequently, Java is the first programming language that lets you do I/O in virtually any language. Java also provides a sophisticated model for formatting textual and numeric data. Java I/O, 2nd Edition shows you how to control number formatting, use characters aside from the standard (but outdated) ASCII character set, and get a head start on writing truly multilingual software.
商品描述(中文翻譯)
**描述**
Java 的所有輸入/輸出 (I/O) 功能都是基於流 (streams),這提供了簡單的方法來讀取和寫入不同類型的數據。Java 提供了許多不同類型的流,每種流都有其特定的應用。流的宇宙被劃分為四大類別:輸入流和輸出流,用於讀取和寫入二進制數據;以及讀取器和寫入器,用於讀取和寫入文本(字符)數據。你幾乎肯定熟悉基本的流類型——但你知道有一個 CipherInputStream 用於讀取加密數據嗎?還有一個 ZipOutputStream 用於自動壓縮數據?你知道如何有效地使用緩衝流來提高你的 I/O 操作效率嗎?《Java I/O》第二版已更新為 Java 5.0 API,告訴你所有你需要知道的有關流的知識——甚至可能更多。
對於 I/O 的討論如果不涉及字符集和格式化將是不完整的。Java 支持 Unicode 標準,該標準為大多數書寫語言的字符集提供了定義。因此,Java 是第一種讓你幾乎可以用任何語言進行 I/O 的編程語言。Java 還提供了一個複雜的模型來格式化文本和數字數據。《Java I/O》第二版向你展示如何控制數字格式,使用標準(但過時的)ASCII 字符集以外的字符,並為編寫真正的多語言軟體打下基礎。