Package | Description |
---|---|
org.refcodes.filesystem | |
org.refcodes.filesystem.impls | |
org.refcodes.filesystem.utilities |
Modifier and Type | Method and Description |
---|---|
FileHandle |
FileSystem.createFile(String aPath,
String aName)
Creates a file (handle) with the given path and name.
|
FileHandle |
FileSystem.getFileHandle(String aPath,
String aName)
Gets a file (handle) with the given path and name from the file system.
|
boolean |
FileSystem.hasFile(String aPath,
String aName)
Tests whether the file system knows a file (handle) with the given path
and name.
|
FileHandle |
FileSystem.renameFile(FileHandle aFileHandle,
String aNewName)
Renames the file (handle), the name part of the key will be renamed to
the new name.
|
Modifier and Type | Method and Description |
---|---|
FileHandle |
InMemoryFileSystemImpl.createFile(String aPath,
String aName)
Creates a file (handle) with the given path and name.
|
FileHandle |
VirtualFileSystemWrapperImpl.createFile(String aPath,
String aName)
Creates a file (handle) with the given path and name.
|
FileHandle |
InMemoryFileSystemImpl.getFileHandle(String aPath,
String aName)
Gets a file (handle) with the given path and name from the file system.
|
FileHandle |
VirtualFileSystemWrapperImpl.getFileHandle(String aPath,
String aName)
Gets a file (handle) with the given path and name from the file system.
|
boolean |
InMemoryFileSystemImpl.hasFile(String aPath,
String aName)
Tests whether the file system knows a file (handle) with the given path
and name.
|
boolean |
VirtualFileSystemWrapperImpl.hasFile(String aPath,
String aName)
Tests whether the file system knows a file (handle) with the given path
and name.
|
FileHandle |
InMemoryFileSystemImpl.renameFile(FileHandle aFileHandle,
String aNewName)
Renames the file (handle), the name part of the key will be renamed to
the new name.
|
FileHandle |
VirtualFileSystemWrapperImpl.renameFile(FileHandle aFileHandle,
String aNewName)
Renames the file (handle), the name part of the key will be renamed to
the new name.
|
Modifier and Type | Method and Description |
---|---|
static String |
FileSystemUtility.toNormalizedName(String aName,
FileSystem aFileSystem)
Truncates any prefixed path separator as we assemble our new path with
the according namespace in front.
|
Copyright © 2015. All rights reserved.