First book to market on Java NIO.2 First Java NIO book using Java 7 Java continues to be one of the top programming languages in use today with over several million developers. Title Page -- Copyright Page -- Contents at a Glance -- Table of Contents...
more
Universität Ulm, Kommunikations- und Informationszentrum, Bibliotheksservices
Inter-library loan:
No inter-library loan
First book to market on Java NIO.2 First Java NIO book using Java 7 Java continues to be one of the top programming languages in use today with over several million developers. 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 Name -- Get 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.
Description based on publisher supplied metadata and other sources
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