GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.oracle.com — java.nio.file (Java SE 17 & JDK 17) Module java.base
Package java.nio.filepackage java.nio.file
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
The java.nio.file package defines classes to access files and file
systems. The API to access file and file system attributes is defined in the
Symbolic LinksMany operating systems and file systems have support for symbolic links. A symbolic link is a special file that serves as a reference to another file. For the most part, symbolic links are transparent to applications and operations on symbolic links are automatically redirected to the target of the link. Exceptions to this are when a symbolic link is deleted or renamed/moved in which case the link is deleted or removed rather than the target of the link. This package includes support for symbolic links where implementations provide these semantics. File systems may support other types that are semantically close but support for these other types of links is not included in this package. Interoperability The VisibilityThe view of the files and file system provided by classes in this package are guaranteed to be consistent with other views provided by other instances in the same Java virtual machine. The view may or may not, however, be consistent with the view of the file system as seen by other concurrently running programs due to caching performed by the underlying operating system and delays induced by network-filesystem protocols. This is true regardless of the language in which these other programs are written, and whether they are running on the same machine or on some other machine. The exact nature of any such inconsistencies is system-dependent and therefore unspecified. Synchronized I/O File Integrity The General Exceptions Unless otherwise noted, passing a Unless otherwise noted, methods that attempt to access the file system
will throw Unless otherwise noted, invoking a method of any class or interface in
this package created by one Optional Specific ExceptionsMost of the methods defined by classes in this package that access the file system specify thatIOException be thrown when an I/O
error occurs. In some cases, these methods define specific I/O exceptions
for common cases. These exceptions, noted as optional specific exceptions,
are thrown by the implementation where it can detect the specific error.
Where the specific error cannot be detected then the more general
IOException is thrown.
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |