買這商品的人也買了...
-
$1,550$1,473 -
$1,000Advanced Digital Logic Design Using Verilog, State Machines, and Synthesis for FPGA's (Hardcover)
-
$620$527 -
$820$648 -
$1,372Advanced Digital Design with the Verilog HDL, 2/e (IE-Paperback)
-
$680$537 -
$800$600 -
$3,080$2,926 -
$790$751 -
$1,575$1,496 -
$880$695 -
$948Single Page Web Applications: JavaScript end-to-end (Paperback)
-
$2,800$2,660 -
$980$774 -
$560$442 -
$360$252 -
$780$616 -
$420$332 -
$580$458 -
$380$323 -
$350$277 -
$299$236 -
$680$530 -
$350$273 -
$825Head First Android Development (Paperback)
相關主題
商品描述
Pro Java 7 NIO.2 addresses the three primary elements that offer new input/output (I/O) APIs in Java 7, giving you the skills to write robust, scalable Java applications:
- An extensive file I/O API system addresses feature requests that developers have sought since the inception of the JDK
- A socket channel API addresses multicasting, socket binding associated with channels, and related issues
- An asynchronous I/O API enables mapping to I/O facilities, completion ports, and various I/O event port mechanisms to enhance scalability
NIO.2 for the Java platform, known as JSR 203, is a major feature of the new Java JDK 7 under the leadership of Alan Bateman as an OpenJDK project. Take advantage of these exciting new developments with Pro Java 7 NIO.2.
What you’ll learn
- How to carry out Path class operations
- How to get/set file metadata through the java.nio file attribute API (including POSIX)
- How to manage symbolic and hard links (including create, delete, and find target)
- How to deal with files and directories through the new java.nio.file.Files API
- How to use the FileVisitor API to develop file recursive operations
- How to explore the Watch Service API and file change notification
- How to use the new SeekableByteChannel API for Random Access File
- How to develop blocking/non-blocking socket-based applications
- How to explore the jewel of NIO.2: the Asynchronous Channel API
- How to use the Zip File System Provider and write a custom file system provider
- How to refactor java.io.File code
Who this book is for
This book is for experienced Java programmers new to Java 7 and those with some experience with Java 7.
Table of Contents
- Working with the Path Class
- Metadate File Attributes
- Symbolic Links
- Files and Directories
- The FileVisitor Class: Recursive Operations
- Watch Service API
- Two Security Models
- SPI Package
- Mapping java.io.file Functionality to java.nio.file
- General Methods
商品描述(中文翻譯)
《Pro Java 7 NIO.2》探討了Java 7中提供新的輸入/輸出(I/O)API的三個主要元素,讓您具備撰寫強大且可擴展的Java應用程式的技能:
- 一個廣泛的文件I/O API系統,解決了自JDK成立以來開發人員一直在尋求的功能需求。
- 一個套接字通道API,解決了多播、與通道相關的套接字綁定以及相關問題。
- 一個非同步I/O API,使映射到I/O設施、完成端口和各種I/O事件端口機制以增強可擴展性成為可能。
Java平台的NIO.2,也被稱為JSR 203,是新的Java JDK 7的一個重要功能,由Alan Bateman在OpenJDK項目的領導下進行開發。藉助《Pro Java 7 NIO.2》,您可以充分利用這些令人興奮的新發展。
您將學到以下內容:
- 如何執行Path類操作。
- 如何通過java.nio文件屬性API(包括POSIX)獲取/設置文件元數據。
- 如何管理符號連結和硬連結(包括創建、刪除和查找目標)。
- 如何通過新的java.nio.file.Files API處理文件和目錄。
- 如何使用FileVisitor API開發文件遞歸操作。
- 如何探索Watch Service API和文件更改通知。
- 如何使用新的SeekableByteChannel API進行隨機訪問文件。
- 如何開發阻塞/非阻塞基於套接字的應用程式。
- 如何探索NIO.2的寶石:非同步通道API。
- 如何使用Zip文件系統提供者並編寫自定義文件系統提供者。
- 如何重構java.io.File代碼。
本書適合有經驗的Java程式設計師,對Java 7新手以及有一些Java 7經驗的讀者。
目錄如下:
1. 使用Path類
2. 元數據文件屬性
3. 符號連結
4. 文件和目錄
5. FileVisitor類:遞歸操作
6. Watch Service API
7. 兩種安全模型
8. SPI套件
9. 將java.io.file功能映射到java.nio.file
10. 通用方法