public interface FileSystem<T extends FileHandle> extends Closeable
FileSystemsAgent
Modifier and Type | Field and Description |
---|---|
static String |
SEPARATOR
Path separator String.
|
static char |
SEPARATOR_CHAR
Path separator char.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close file system.
|
T |
obtain(String path)
Obtain a handle to the file or directory with the given path.
|
static final String SEPARATOR
static final char SEPARATOR_CHAR
@NotNull T obtain(@Nullable String path) throws IOException
If the given path is null
or empty, the handle of the
current working directory is returned.
path
- The path to the file or directory.IOException
void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210