Uses of Class
com.aoapps.io.filesystems.Path
-
Uses of Path in com.aoapps.io.filesystems
Modifier and TypeFieldDescriptionprotected final Map
<Path, TempFileSystem.FileSystemObject> TempFileSystem.files
Modifier and TypeMethodDescriptionFileSystem.createDirectory
(Path path) Atomically creates a directory (must not have already existed).FileSystemWrapper.createDirectory
(Path path) JavaFileSystem.createDirectory
(Path path) RandomFailFileSystem.createDirectory
(Path path) ReadOnlyFileSystem.createDirectory
(Path path) TempFileSystem.createDirectory
(Path path) FileSystem.createFile
(Path path) Atomically creates an empty file (must not have already existed).FileSystemWrapper.createFile
(Path path) JavaFileSystem.createFile
(Path path) RandomFailFileSystem.createFile
(Path path) ReadOnlyFileSystem.createFile
(Path path) TempFileSystem.createFile
(Path path) Path.getParent()
Gets the parent of this path.default Path
Joins the array of names to a path object.default Path
Parses a string representation of a path.protected Path
FileSystemWrapper.unwrapPath
(Path path) Unwraps a path.Modifier and TypeMethodDescriptionvoid
FileSystem.checkSubPath
(Path parent, String name) Checks that a given path name is acceptable to this file system.void
FileSystemWrapper.checkSubPath
(Path parent, String name) void
JavaFileSystem.checkSubPath
(Path parent, String name) Checks that a given path name is acceptable to this file system.void
TempFileSystem.checkSubPath
(Path parent, String name) Temporary file systems support all possible paths.int
Compares two paths in lexical order.FileSystem.createDirectory
(Path path) Atomically creates a directory (must not have already existed).FileSystemWrapper.createDirectory
(Path path) JavaFileSystem.createDirectory
(Path path) RandomFailFileSystem.createDirectory
(Path path) ReadOnlyFileSystem.createDirectory
(Path path) TempFileSystem.createDirectory
(Path path) FileSystem.createFile
(Path path) Atomically creates an empty file (must not have already existed).FileSystemWrapper.createFile
(Path path) JavaFileSystem.createFile
(Path path) RandomFailFileSystem.createFile
(Path path) ReadOnlyFileSystem.createFile
(Path path) TempFileSystem.createFile
(Path path) void
Deletes the file system object at the given path.void
void
void
void
void
boolean
Two paths are equal if they are of the same depth and have equal names.protected Path
JavaFileSystem.getJavaPath
(Path path) Gets a Java File for the given path.Lists the children of the given path in no specific order.Random chance of fail on list as well as list iteration.Locks a file in exclusive mode.long
Gets the size of the file system object at the given path.long
long
long
long
protected Path
FileSystemWrapper.unwrapPath
(Path path) Unwraps a path.protected FileSystemWrapper.PathWrapper
Wraps a path.protected FileSystemWrapper.PathWrapper
FileSystemWrapper.wrapSubPath
(FileSystemWrapper.PathWrapper parent, Path subPath) Wraps a new sub path.