Java I/O, NIO and NIO.2 + code

Купить бумажную книгу и читать

Купить бумажную книгу

По кнопке выше можно купить бумажные варианты этой книги и похожих книг на сайте интернет-магазина "Лабиринт".

Using the button above you can buy paper versions of this book and similar books on the website of the "Labyrinth" online store.

Реклама. ООО "ЛАБИРИНТ.РУ", ИНН: 7728644571, erid: LatgCADz8.

Название:Java I/O, NIO and NIO.2

Автор:Jeff Friesen

Издательство: APRESS

Год: 2015

Страниц:552

Язык: English

Формат: pdf+code

Размер: 2 Mb

Java I/O, NIO and NIO.2 is a power-packed, accelerated guide and reference on buffers, files, sockets, datagrams, and pipe channels as found in the Java I/O, NIO, and NIO.2 reference implementations. In this book, you'll also learn how and when to use selectors, regular expressions, including patterns, matchers and more. You'll learn how to work with Charsets, formatters and scanners. You'll - all in all - learn how to use and apply NIO, NIO.2 and the enhancements available.

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 class

How to build a flat file database with RandomAccessFile

Get to know the byte array, file, filter, and other kinds of streams

Master serialization and externalization

Discover character streams and their associated writers/readers

Tour the buffer APIs

Work with channels to transfer buffers to and from I/O services

Find out about selectors and readiness selection

Master regular expressions

Discover charsets and their association with Java's String< class

Take advantage of the formatter API to create formatted output

How to customize the formatter API

Explore the improved file system interface

Discover asynchronous I/O and its association with futures and completion handlers

Encounter 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

pdf+code

Дата создания страницы: