Package | Description |
---|---|
nl.esciencecenter.xenon.files |
This package contains classes and interfaces for manipulating files.
|
nl.esciencecenter.xenon.util |
This package is contains several utility classes.
|
Modifier and Type | Method and Description |
---|---|
FileSystem |
Path.getFileSystem()
Get the FileSystem to which this Path refers.
|
FileSystem |
Files.newFileSystem(String scheme,
String location,
Credential credential,
Map<String,String> properties)
Create a new FileSystem that represents a (possibly remote) data store at the
location , using the
scheme and credentials to get access. |
Modifier and Type | Method and Description |
---|---|
void |
Files.close(FileSystem filesystem)
Close a FileSystem.
|
boolean |
Files.isOpen(FileSystem filesystem)
Test is a FileSystem is open.
|
Path |
Files.newPath(FileSystem filesystem,
RelativePath location)
Create a new Path that represents a (possibly non existing) location on
filesystem. |
Modifier and Type | Method and Description |
---|---|
static FileSystem[] |
Utils.getLocalFileSystems(Files files)
Returns all local FileSystems.
|
Modifier and Type | Method and Description |
---|---|
static Path |
Utils.resolveWithEntryPath(Files files,
FileSystem fileSystem,
String... path)
Resolve a relative
path with the entry path of the fileSystem and return a new
Path that represents this location. |