Package | Description |
---|---|
org.refcodes.filesystem | |
org.refcodes.filesystem.impls | |
org.refcodes.filesystem.utilities |
Modifier and Type | Method and Description |
---|---|
FileHandle |
FileSystem.createFile(String aKey)
Creates a file (handle) with the given key.
|
FileHandle |
FileSystem.getFileHandle(String aKey)
Gets a file (handle) with the given key from the file system.
|
boolean |
FileSystem.hasFile(String aKey)
Tests whether the file system knows a file (handle) with the given key.
|
FileHandle |
FileSystem.moveFile(FileHandle aFileHandle,
String aNewKey)
Renames the file (handle), it will be accessible via the provided key.
|
Modifier and Type | Method and Description |
---|---|
FileHandle |
InMemoryFileSystemImpl.createFile(String aKey)
Creates a file (handle) with the given key.
|
FileHandle |
VirtualFileSystemWrapperImpl.createFile(String aKey)
Creates a file (handle) with the given key.
|
FileHandle |
InMemoryFileSystemImpl.getFileHandle(String aKey)
Gets a file (handle) with the given key from the file system.
|
FileHandle |
VirtualFileSystemWrapperImpl.getFileHandle(String aKey)
Gets a file (handle) with the given key from the file system.
|
boolean |
InMemoryFileSystemImpl.hasFile(String aKey)
Tests whether the file system knows a file (handle) with the given key.
|
boolean |
VirtualFileSystemWrapperImpl.hasFile(String aKey)
Tests whether the file system knows a file (handle) with the given key.
|
FileHandle |
InMemoryFileSystemImpl.moveFile(FileHandle aFileHandle,
String aNewKey)
Renames the file (handle), it will be accessible via the provided key.
|
FileHandle |
VirtualFileSystemWrapperImpl.moveFile(FileHandle aFileHandle,
String aNewKey)
Renames the file (handle), it will be accessible via the provided key.
|
Modifier and Type | Method and Description |
---|---|
static String |
FileSystemUtility.toNormalizedKey(String aKey,
FileSystem aFileSystem)
Truncates any prefixed path separator as we assemble our new path with
the according namespace in front.
|
Copyright © 2015. All rights reserved.