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.
|
List<FileHandle> |
FileSystem.getFileHandles(String aPath,
boolean isRecursively)
With the behavior of the
#hasFiles() method, all file (handle)s
found for the path are returned. |
boolean |
FileSystem.hasFile(String aPath,
String aName)
Tests whether the file system knows a file (handle) with the given path
and name.
|
boolean |
FileSystem.hasFiles(String aPath,
boolean isRecursively)
Determines whether there is any file (handle)s found for the given path.
|
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.
|
List<FileHandle> |
InMemoryFileSystemImpl.getFileHandles(String aPath,
boolean isRecursively)
With the behavior of the
#hasFiles() method, all file (handle)s
found for the path are returned. |
List<FileHandle> |
VirtualFileSystemWrapperImpl.getFileHandles(String aPath,
boolean isRecursively)
With the behavior of the
#hasFiles() method, all file (handle)s
found for the path are returned. |
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.
|
boolean |
InMemoryFileSystemImpl.hasFiles(String aPath,
boolean isRecursively)
Determines whether there is any file (handle)s found for the given path.
|
boolean |
VirtualFileSystemWrapperImpl.hasFiles(String aPath,
boolean isRecursively)
Determines whether there is any file (handle)s found for the given path.
|
Modifier and Type | Method and Description |
---|---|
static String |
FileSystemUtility.toNormalizedPath(String aPath,
FileSystem aFileSystem)
Truncates any prefixed path separator as we assemble our new path with
the according namespace in front.
|
Copyright © 2015. All rights reserved.