About the Author
Jeff Friesen is a freelance tutor and software developer with an emphasis on Java (and now Android). In addition to authoring Learn Java for Android Development and co-authoring Android Recipes -- Jeff has written numerous articles on Java and other technologies for JavaWorld (a href="http://www.JavaWorld.com"JavaWorld.com/a), informIT (a href="http://www.InformIT.com"InformIT.com/a), a href="http://www.java.net"Java.net/a, and DevSource (a href="http://www.DevSource.com"DevSource.com/a). Jeff can be contacted via his website at a href="http://www.tutortutor.ca"TutorTutor.ca/a.
Java I/O, NIO, and NIO.2 is a power-packed book that accelerates your mastery of Java's various I/O APIs. In this book, you'll learn about classic I/O APIs (File, RandomAccessFile, the stream classes and related types, and the reader/writer classes). Next, you'll learn about NIO's buffer, channel, selector, regular expression, charset, and formatter APIs. Finally, you'll discover NIO.2's offerings in terms of an improved file system interface, asynchronous I/O, and the completion of socket channel functionality.
After reading and using thi book, you'll gain the accelerated knowledge and skill level to really build applications with efficient data access, especially for today's cloud computing streaming data needs.
What you’ll learn
How to set permissions and more with the classic File classHow to build a flat file database with RandomAccessFileGet to know the byte array, file, filter, and other kinds of streamsMaster serialization and externalizationDiscover character streams and their associated writers/readersTour the buffer APIsWork with channels to transfer buffers to and from I/O servicesFind out about selectors and readiness selectionMaster regular expressionsDiscover charsets and their association with Java's String< classTake advantage of the formatter API to create formatted outputHow to customize the formatter APIExplore the improved file system interfaceDiscover asynchronous I/O and its association with futures and completion handlersEncounter socket channel improvements, including multicasting
Who this book is for
This book is for those experienced with Java, beyond the fundamentals.
Table of Contents
Part 1: Getting Started with I/O
Chapter 1: I/O Basics and APIs
Part 2: Classic I/O APIs
Chapter 2: File
Chapter 3: RandomAccessFile
Chapter 4: Streams
Chapter 5: Writers and Readers
Part 3: New I/O APIs
Chapter 6: Buffers
Chapter 7: Channels
Chapter 8: Selectors
Chapter 9: Regular Expressions
Chapter 10: Charsets
Chapter 11: Formatter and Scanner
Part 4: More New I/O APIs
Chapter 12: File System APIs
Chapter 13: Asynchronous I/O
Chapter 14: Additional NIO.2 APIs
Appendix A: Answers to Review Exercises
發表於2024-11-22
Java I/O, NIO and NIO.2 2024 pdf epub mobi 電子書 下載
這本書覆蓋瞭I/O,NIO,NIO2.0大部分方麵的知識,對於很多細節進行瞭講述,有一定的深度,建議配閤源碼進行閱讀。另推薦《Beginning Java 8 Language Features》《Beginning Java 8 APIs, Extensions and Libraries》相應章節作為補充閱讀。
評分這本書覆蓋瞭I/O,NIO,NIO2.0大部分方麵的知識,對於很多細節進行瞭講述,有一定的深度,建議配閤源碼進行閱讀。另推薦《Beginning Java 8 Language Features》《Beginning Java 8 APIs, Extensions and Libraries》相應章節作為補充閱讀。
評分這本書覆蓋瞭I/O,NIO,NIO2.0大部分方麵的知識,對於很多細節進行瞭講述,有一定的深度,建議配閤源碼進行閱讀。另推薦《Beginning Java 8 Language Features》《Beginning Java 8 APIs, Extensions and Libraries》相應章節作為補充閱讀。
評分這本書覆蓋瞭I/O,NIO,NIO2.0大部分方麵的知識,對於很多細節進行瞭講述,有一定的深度,建議配閤源碼進行閱讀。另推薦《Beginning Java 8 Language Features》《Beginning Java 8 APIs, Extensions and Libraries》相應章節作為補充閱讀。
評分這本書覆蓋瞭I/O,NIO,NIO2.0大部分方麵的知識,對於很多細節進行瞭講述,有一定的深度,建議配閤源碼進行閱讀。另推薦《Beginning Java 8 Language Features》《Beginning Java 8 APIs, Extensions and Libraries》相應章節作為補充閱讀。
圖書標籤: Java 計算機 編程 計算機科學 網絡編程 程序設計語言
great book
評分一本 I/O 相關的 API 手冊
評分great book
評分great book
評分great book
Java I/O, NIO and NIO.2 2024 pdf epub mobi 電子書 下載