Enumeration of the Access modes possible for accessing files
Create a Path on the default files system from a java.file.File
Create a Path on the default files system from a java.file.File
the file to use for creating the Path
Create a Path from a URI.
Create a Path from a URI.
both the filesystem and the path can be determined from from the uri. For example:
file://c:\dir
will create an absolute Path
from the default filesystem with the Path = c:\dirjar://classes.jar!dir
creates a Path to the
dir directory in the jar filesystem classes.jar
The uri specifying the filesystem and path
A path object
if the filesystem cannot be loaded or if the path cannot be created with that filesystem
Creates an empty directory in the provided directory with the provided prefix and suffixes.
Creates an empty directory in the provided directory with the provided prefix and suffixes. 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
The attributes to create on the file. Default is Nil(default system file attributes)
Creates an empty file in the provided directory with the provided prefix and suffixes.
Creates an empty file in the provided directory with the provided prefix and suffixes. 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
The attributes to create on the file. Default is Nil(default system file attributes)
Create a Path from a string
Create a Path from a string
the string to use for creating the Path
Lists the roots of the default filesystem
Allows matching on the path segments of a Path
Allows matching on the path segments of a Path
Path("c:","dir", "file")
both of the above examples will match the same path
For more on matching Paths see scalax.file.PathMatcher
The object for constructing Path objects and for containing implicits from strings and
java.file.File
s to Scala paths.All Paths constructed by this factory are created for the default filesystem
0.1