Creates an empty directory in the provided directory with the provided prefix and suffixes, if the filesystem supports it.
Creates an empty directory in the provided directory with the provided prefix and suffixes, if the filesystem supports it. If not then a UnsupportedOperationException is thrown. The directory will not replace an existing file/directory and it is guaranteed to be unique and not previously used by another process at time of creation.
the starting characters of the directory name. Default is a randomly generated prefix
the last characters of the directory name Default is null (no suffix)
the directory to create the directory in. If null or not declared the directory will be created in the system temporary folder Default is null (system/user temp folder)
If true then the directory and all contained folders will be deleted when the JVM is shutdown. Default is true
Creates an empty file in the provided directory with the provided prefix and suffixes, if the filesystem supports it.
Creates an empty file in the provided directory with the provided prefix and suffixes, if the filesystem supports it. If not then a UnsupportedOperationException is thrown.
The file will not replace an existing file and it is guaranteed to be unique and not previously used by another process at time of creation.
the starting characters of the file name. Default is a randomly generated prefix
the last characters of the file name Default is null (no suffix)
the directory to create the file in. If null or not declared the file will be created in the system temporary folder Default is null (system/user temp folder)
If true then the file will be deleted when the JVM is shutdown Default is true
Create a path object for the filesystem from the path segments
Create a path object for the filesystem from the path segments
Create a path object for the filesystem
Create a path object for the filesystem
Creates a function that returns true if parameter matches the pattern used to create the function.
Creates a function that returns true if parameter matches the pattern used to create the function.
If the syntax is glob then the following patterns are accepted:
Currently unsupported slated to be supported shortly are:
The matching of root components is highly implementation-dependent and is not specified.
If the syntax is regex then the pattern component is a pattern as defined by the
java.util.regex.Pattern
class
In both cases the matching is case sensitive
the pattern of the match
the identifier of the syntax that will be used to interpret the pattern Default is glob
@return a function that matches paths agains the matching specification in syntax and Pattern
Path#contents
A name identifying the filesystem
A name identifying the filesystem
Returns the list of roots for this filesystem
Returns the list of roots for this filesystem
The path segment separator string for the filesystem
The path segment separator string for the filesystem