| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public final boolean | deleteIfExists(Path file)
Overrides java. Deletes a file if it exists. |
| pack-priv abstract DynamicFileAttributeView | getFileAttributeView(Path file, String name, LinkOption... options)
Gets a DynamicFileAttributeView by name. |
| public abstract byte[] | |
| pack-priv abstract boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public final Map | readAttributes(Path file, String attributes, LinkOption... options)
Implements abstract java. Reads a set of file attributes as a bulk operation. |
| public final void | setAttribute(Path file, String attribute, Object value, LinkOption... options)
Implements abstract java. Sets the value of a file attribute. |
| private static String[] |
| AbstractFileSystemProvider | back to summary |
|---|---|
| protected AbstractFileSystemProvider() | |
| delete | back to summary |
|---|---|
| public final void delete(Path file) throws IOException Implements abstract java. Doc from java. Deletes a file. This method works in exactly the manner specified by the
| |
| deleteIfExists | back to summary |
|---|---|
| public final boolean deleteIfExists(Path file) throws IOException Overrides java. Doc from java. Deletes a file if it exists. This method works in exactly the manner
specified by the The default implementation of this method simply invokes
| |
| getFileAttributeView | back to summary |
|---|---|
| pack-priv abstract DynamicFileAttributeView getFileAttributeView(Path file, String name, LinkOption... options) Gets a DynamicFileAttributeView by name. Returns | |
| getSunPathForSocketFile | back to summary |
|---|---|
| public abstract byte[] getSunPathForSocketFile(Path path) Returns a path name as bytes for a Unix domain socket. Different encodings may be used for these names on some platforms. If path is empty, then an empty byte[] is returned. | |
| implDelete | back to summary |
|---|---|
| pack-priv abstract boolean implDelete(Path file, boolean failIfNotExists) throws IOException Deletes a file. The | |
| isExecutable | back to summary |
|---|---|
| public boolean isExecutable(Path path) Tests whether a file is executable. | |
| isReadable | back to summary |
|---|---|
| public boolean isReadable(Path path) Tests whether a file is readable. | |
| isWritable | back to summary |
|---|---|
| public boolean isWritable(Path path) Tests whether a file is writable. | |
| readAttributes | back to summary |
|---|---|
| public final Map Implements abstract java. Doc from java. Reads a set of file attributes as a bulk operation. This method works in
exactly the manner specified by the
| |
| setAttribute | back to summary |
|---|---|
| public final void setAttribute(Path file, String attribute, Object value, LinkOption... options) throws IOException Implements abstract java. Doc from java. Sets the value of a file attribute. This method works in exactly the
manner specified by the
| |
| split | back to summary |
|---|---|
| private static String[] split(String attribute) Splits the given attribute name into the name of an attribute view and the attribute. If the attribute view is not identified then it assumed to be "basic". | |