| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| protected final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | checkAccess(Path
the path to the file to check path, AccessMode... The access modes to check; may have zero elements modes)Implements abstract java. Checks the existence, and optionally the accessibility, of a file. |
| public void | copy(Path
the path to the file to copy source, Path the path to the target file target, CopyOption... options specifying how the copy should be done options)Implements abstract java. Copy a file to a target file. |
| public void | createDirectory(Path
the directory to create dir, FileAttribute<?>... an optional list of file attributes to set atomically when
creating the directory attrs)Implements abstract java. Creates a new directory. |
| public void | createLink(Path
the link (directory entry) to create link, Path a path to an existing file existing)Overrides java. Creates a new link (directory entry) for an existing file. |
| public void | createSymbolicLink(Path
the path of the symbolic link to create link, Path the target of the symbolic link target, FileAttribute<?>... the array of attributes to set atomically when creating the
symbolic link attrs)Overrides java. Creates a symbolic link to a target. |
| public void | delete(Path
the path to the file to delete path)Implements abstract java. Deletes a file. |
| public boolean | deleteIfExists(Path
the path to the file to delete path)Overrides java. Deletes a file if it exists. |
| private static Path | |
| private String | |
| public <V extends FileAttributeView> V | getFileAttributeView(Path
the path to the file path, Class<V> the type, LinkOption... Class object corresponding to the file attribute viewoptions indicating how symbolic links are handled options)Implements abstract java. Returns a file attribute view of a given type. |
| public FileStore | getFileStore(Path
the path to the file path)Implements abstract java. Returns the |
| public FileSystem | getFileSystem(URI
URI reference uri)Implements abstract java. Returns an existing |
| protected RootedFileSystem | |
| public Path | getPath(URI
The URI to convert uri)Implements abstract java. Return a |
| public String | getScheme()
Implements abstract java. Returns the URI scheme that identifies this provider. |
| public boolean | isHidden(Path
the path to the file to test path)Implements abstract java. Tells whether or not a file is considered hidden. |
| public boolean | isSameFile(Path
one path to the file path, Path the other path path2)Implements abstract java. Tests if two paths locate the same file. |
| public void | move(Path
the path to the file to move source, Path the path to the target file target, CopyOption... options specifying how the move should be done options)Implements abstract java. Move or rename a file to a target file. |
| public AsynchronousFileChannel | newAsynchronousFileChannel(Path
the path of the file to open or create path, Set<? extends OpenOption> options specifying how the file is opened options, ExecutorService the thread pool or executor, FileAttribute<?>... null to associate the channel with
the default thread poolan optional list of file attributes to set atomically when
creating the file attrs)Overrides java. Opens or creates a file for reading and/or writing, returning an asynchronous file channel to access the file. |
| public SeekableByteChannel | newByteChannel(Path
the path to the file to open or create path, Set<? extends OpenOption> options specifying how the file is opened options, FileAttribute<?>... an optional list of file attributes to set atomically when
creating the file attrs)Implements abstract java. Opens or creates a file, returning a seekable byte channel to access the file. |
| public DirectoryStream | newDirectoryStream(Path
the path to the directory dir, DirectoryStream.the directory stream filter filterImplements abstract java. Opens a directory, returning a |
| public FileChannel | newFileChannel(Path
the path of the file to open or create path, Set<? extends OpenOption> options specifying how the file is opened options, FileAttribute<?>... an optional list of file attributes to set atomically when
creating the file attrs)Overrides java. Opens or creates a file for reading and/or writing, returning a file channel to access the file. |
| public FileSystem | newFileSystem(URI
URI reference uri, Map<String, ?> A map of provider specific properties to configure the file system;
may be empty env)Implements abstract java. Constructs a new |
| public FileSystem | newFileSystem(Path
The path to the file path, Map<String, ?> A map of provider specific properties to configure the file system;
may be empty env)Overrides java. Constructs a new |
| protected FileSystem | |
| public InputStream | newInputStream(Path
the path to the file to open path, OpenOption... options specifying how the file is opened options)Overrides java. Opens a file, returning an input stream to read from the file. |
| public OutputStream | newOutputStream(Path
the path to the file to open or create path, OpenOption... options specifying how the file is opened options)Overrides java. Opens or creates a file, returning an output stream that may be used to write bytes to the file. |
| protected FileSystemProvider | |
| public <A extends BasicFileAttributes> A | readAttributes(Path
the path to the file path, Class<A> the type, LinkOption... Class of the file attributes required
to readoptions indicating how symbolic links are handled options)Implements abstract java. Reads a file's attributes as a bulk operation. |
| public Map | readAttributes(Path
the path to the file path, String the attributes to read attributes, LinkOption... options indicating how symbolic links are handled options)Implements abstract java. Reads a set of file attributes as a bulk operation. |
| public Path | readSymbolicLink(Path
the path to the symbolic link link)Overrides java. Reads the target of a symbolic link. |
| protected Path | Returns: The actual absolute localPath represented by the rooted oneThe original path)RootedPath - never null
|
| protected DirectoryStream | |
| protected Path | |
| public void | setAttribute(Path
the path to the file path, String the attribute to set attribute, Object the attribute value value, LinkOption... options indicating how symbolic links are handled options)Implements abstract java. Sets the value of a file attribute. |
| private IOException | |
| protected Path | |
| protected Path |