My Account Log in

1 option

Pro Java 7 NIO.2 / Anghel Leonard.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Leonard, Anghel.
Series:
Expert's voice in Java.
The expert's voice in JAVA Pro Java 7 NIO.2
Language:
English
Subjects (All):
Java (Computer program language).
Computer programming.
Computer programs.
Physical Description:
1 online resource (294 p.)
Edition:
1st ed. 2011.
Other Title:
Pro Java Seven NIO.2
Place of Publication:
[Berkeley, Calif.] : Apress, 2011.
Language Note:
English
System Details:
text file
Summary:
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.
Contents:
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Preface; Who This Book Is For; What This Book Covers; CHAPTER 1 Working with the Path Class; Introducing the Path Class; Defining a Path; Define an Absolute Path; Define a Path Relative to the File Store Root; Define a Path Relative to the Working Folder; Define a Path Using Shortcuts; Define a Path from a URI; Define a Path using FileSystems.getDefault().getPath() Method; Get the Path of the Home Directory; Getting Information About a Path
Get the Path File/Directory NameGet the Path Root; Get the Path Parent; Get Path Name Elements; Get a Path Subpath; Converting a Path; Convert a Path to a String; Convert a Path to a URI; Convert a Relative Path to an Absolute Path; Convert a Path to a Real Path; Convert a Path to a File; Combining Two Paths; Constructing a Path Between Two Locations; Comparing Two Paths; Iterate over the Name Elements of a Path; Summary; CHAPTER 2 Metadata File Attributes; Supported Views in NIO.2; Determining Views Supported by a Particular File System; Basic View; Get Bulk Attributes with readAttributes()
Get a Single Attribute with getAttribute()Update a Basic Attribute; DOS View; File Owner View; Set a File Owner Using Files.setOwner(); Set a File Owner Using FileOwnerAttributeView.setOwner(); Set a File Owner Using Files.setAttribute(); Get a File Owner Using FileOwnerAttributeView.getOwner(); Get a File Owner Using Files.getAttribute(); POSIX View; POSIX Permissions; POSIX Group Owner; ACL View; Read an ACL Using Files.getFileAttributeView(); Read an ACL Using Files.getAttribute(); Read ACL Entries; Grant a New Access in an ACL; File Store Attributes; Get Attributes of All File Stores
Get Attributes of the File Store in Which a File ResidesUser-Defined File Attributes View; Check User-Defined Attributes Supportability; Operations on User-Defined Attributes; Define a User Attribute; List User-Defined Attribute Names and Value Sizes; Get the Value of a User-Defined Attribute; Delete a File's User-Defined Attribute; Summary; CHAPTER 3 Manage Symbolic and Hard Links; Introducing Links; Creating Links from the Command Line; Creating a Symbolic Link; Creating a Hard Link; Checking a Symbolic Link; Locating the Target of a Link
Checking If a Link and a Target Point to the Same FileSummary; CHAPTER 4 Files and Directories; Checking Methods for Files and Directories; Checking for the Existence of a File or Directory; Checking File Accessibility; Checking If Two Paths Point to the Same File; Checking the File Visibility; Creating and Reading Directories; Listing File System Root Directories; Creating a New Directory; Listing a Directory's Content; Listing the Entire Content; Listing the Content by Applying a Glob Pattern; Listing the Content by Applying a User-Defined Filter; Creating, Reading, and Writing Files
Using Standard Open Options
Notes:
Includes index.
ISBN:
9786613570536
9781280392610
1280392614
9781430240129
1430240121
OCLC:
774981571

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account