Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Pro Java 7 NIO.2 (Professional Apress)

Buy
Pro Java 7 NIO.2 (Professional Apress), 9781430240112 (1430240113), Apress, 2011

The recommended entry point to start exploring the NIO.2 API, also known as “JSR 203: More New I/O

APIs for the Java Platform” (NIO.2), is the new abstract class java.nio.file.Path. This class is a milestone of NIO.2, and every application that involves I/O operations will exploit the powerful facilities of this class. Practically, it is the most commonly used class of NIO.2, since many I/O operations are based on a Path resource.

The Path class supports two types of operations: syntactic operations (almost any operation that involves manipulating paths without accessing the file system; these are logical manipulations done in memory) and operations over files referenced by paths. This chapter covers the first type of operations and introduces you to the Path API. In Chapter 4, I focus on exploring the second type of operations. The concepts presented in this chapter will be very useful in the rest of the book.

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.

 

(HTML tags aren't allowed.)

MongoDB Cookbook
MongoDB Cookbook

Over 80 practical recipes to design, deploy, and administer MongoDB

About This Book

  • Gain a thorough understanding of some of the key features of MongoDB
  • Learn the techniques necessary to solve frequent MongoDB problems
  • Packed full of step-by-step recipes to help you with...
Advanced Programming in the UNIX Environment, 3rd Edition
Advanced Programming in the UNIX Environment, 3rd Edition

For more than twenty years, serious C programmers have relied on one book for practical, in-depth knowledge of the programming interfaces that drive the UNIX and Linux kernels: W. Richard Stevens’ Advanced Programming in the UNIX® Environment . Now, once again, Rich’s colleague Steve...

Java: The Complete Reference, Ninth Edition
Java: The Complete Reference, Ninth Edition

Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlements included with the product.

The Definitive Java Programming Guide

Fully updated for Java SE 8, Java: The Complete Reference, Ninth Edition...


Java Language Features: With Modules, Streams, Threads, I/O, and Lambda Expressions
Java Language Features: With Modules, Streams, Threads, I/O, and Lambda Expressions
Work with essential and advanced features of the Java programming language such as Java modules development, lambda expressions (closures), inner classes, threads, I/O, Collections, garbage collection, and more. Author Kishori Sharan provides over 50 diagrams and 290 complete programs to help you visualize and better understand the topics...
Mastering Reverse Engineering: Re-engineer your ethical hacking skills
Mastering Reverse Engineering: Re-engineer your ethical hacking skills

Implement reverse engineering techniques to analyze software, exploit software targets, and defend against security threats like malware and viruses.

Key Features

  • Analyze and improvise software and hardware with real-world examples
  • Learn advanced debugging and patching...
MongoDB 4 Quick Start Guide: Learn the skills you need to work with the world's most popular NoSQL database
MongoDB 4 Quick Start Guide: Learn the skills you need to work with the world's most popular NoSQL database

A fast paced guide that will help you to create, read, update and delete data using MongoDB

Key Features

  • Create secure databases with MongoDB
  • Manipulate and maintain your database
  • Model and use data in a No SQL environment with MongoDB

...

©2019 LearnIT (support@pdfchm.net) - Privacy Policy