Modifier and Type | Interface | Description |
---|---|---|
static interface |
FileHandle.MutableFileHandle |
The mutable
FileHandle allows the modification of (fiddling
around with) attributes.
-------------------------------------------------------------------------
ATTENTION: Usually fiddling around with attributes is not necessary, as
the FileSystem itself provides the sufficient functionality to
work with files. |
Modifier and Type | Class | Description |
---|---|---|
class |
FileHandleImpl |
Straight forward implementation of the
FileHandle ,. |
class |
FileHandleImpl.MutableFileHandleImpl |
The implementation of a
FileHandle.MutableFileHandle .
-------------------------------------------------------------------------
CAUTION: fiddling with the path and the name attributes causes the
FileHandleImpl.MutableFileHandleImpl.hashCode() and FileHandleImpl.MutableFileHandleImpl.equals(Object) methods to change
behavior which can cause problems especially in collections! |
Modifier and Type | Method | Description |
---|---|---|
FileHandle |
ChangeRootFileSystemWrapperImpl.createFile(String aKey) |
Creates a file (handle) with the given key.
|
FileHandle |
ChangeRootFileSystemWrapperImpl.createFile(String aPath,
String aName) |
Creates a file (handle) with the given path and name.
|
FileHandle |
FileSystem.createFile(String aKey) |
Creates a file (handle) with the given key.
|
FileHandle |
FileSystem.createFile(String aPath,
String aName) |
Creates a file (handle) with the given path and name.
|
FileHandle |
InMemoryFileSystemImpl.createFile(String aKey) |
Creates a file (handle) with the given key.
|
FileHandle |
InMemoryFileSystemImpl.createFile(String aPath,
String aName) |
Creates a file (handle) with the given path and name.
|
FileHandle |
FileHandleAccessor.getFile() |
Retrieves the file handle from the file property.
|
FileHandle |
ChangeRootFileSystemWrapperImpl.getFileHandle(String aKey) |
Gets a file (handle) with the given key from the file system.
|
FileHandle |
ChangeRootFileSystemWrapperImpl.getFileHandle(String aPath,
String aName) |
Gets a file (handle) with the given path and name from the file system.
|
FileHandle |
FileSystem.getFileHandle(String aKey) |
Gets a file (handle) with the given key from the file system.
|
FileHandle |
FileSystem.getFileHandle(String aPath,
String aName) |
Gets a file (handle) with the given path and name from the file system.
|
FileHandle |
InMemoryFileSystemImpl.getFileHandle(String aKey) |
Gets a file (handle) with the given key from the file system.
|
FileHandle |
InMemoryFileSystemImpl.getFileHandle(String aPath,
String aName) |
Gets a file (handle) with the given path and name from the file system.
|
default FileHandle |
FileHandleAccessor.FileHandleProperty.letFile(String aFile) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given file handle (setter) as
of
FileHandleAccessor.FileHandleMutator.setFile(String) and returns the very same value (getter)
being produced to a FileHandle (as of FileHandleAccessor.getFile() ). |
FileHandle |
ChangeRootFileSystemWrapperImpl.moveFile(FileHandle aFileHandle,
String aNewKey) |
Renames the file (handle), it will be accessible via the provided key.
|
FileHandle |
FileSystem.moveFile(FileHandle aFileHandle,
String aNewKey) |
Renames the file (handle), it will be accessible via the provided key.
|
FileHandle |
InMemoryFileSystemImpl.moveFile(FileHandle aFileHandle,
String aNewKey) |
Renames the file (handle), it will be accessible via the provided key.
|
FileHandle |
ChangeRootFileSystemWrapperImpl.renameFile(FileHandle aFileHandle,
String aNewName) |
Renames the file (handle), the name part of the key will be renamed to
the new 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.
|
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 |
FileHandle.MutableFileHandle.toFileHandle() |
Converts the
FileHandle.MutableFileHandle back to a FileHandle
to avoid hassle with collections, the Object.hashCode() and
the Object.equals(Object) operations. |
FileHandle |
FileHandleImpl.MutableFileHandleImpl.toFileHandle() |
Converts the
FileHandle.MutableFileHandle back to a FileHandle
to avoid hassle with collections, the Object.hashCode() and
the Object.equals(Object) operations. |
static FileHandle |
FileSystemUtility.toNormalizedFileHandle(FileHandle aFileHandle,
FileSystem aFileSystem) |
Test whether the given key may jail break from the name space.
|
Modifier and Type | Method | Description |
---|---|---|
List<FileHandle> |
ChangeRootFileSystemWrapperImpl.getFileHandles(String aPath,
boolean isRecursively) |
With the behavior of the
FileSystem.hasFiles(String, boolean) method, all
file (handle)s found for the path are returned. |
List<FileHandle> |
FileSystem.getFileHandles(String aPath,
boolean isRecursively) |
With the behavior of the
FileSystem.hasFiles(String, boolean) method, all
file (handle)s found for the path are returned. |
List<FileHandle> |
InMemoryFileSystemImpl.getFileHandles(String aPath,
boolean isRecursively) |
With the behavior of the
FileSystem.hasFiles(String, boolean) method, all
file (handle)s found for the path are returned. |
Modifier and Type | Method | Description |
---|---|---|
void |
ChangeRootFileSystemWrapperImpl.deleteFile(FileHandle aFileHandle) |
Deletes a file (handle) from the file system.
|
void |
FileSystem.deleteFile(FileHandle aFileHandle) |
Deletes a file (handle) from the file system.
|
void |
InMemoryFileSystemImpl.deleteFile(FileHandle aFileHandle) |
Deletes a file (handle) from the file system.
|
InputStream |
ChangeRootFileSystemWrapperImpl.fromFile(FileHandle aFromFileHandle) |
An input stream is being provided from which the data of the file
(handle) may be read.
|
void |
ChangeRootFileSystemWrapperImpl.fromFile(FileHandle aFromFileHandle,
File aToFile) |
The data contained in the given file (handle) is written to the provided
file.
|
void |
ChangeRootFileSystemWrapperImpl.fromFile(FileHandle aFromFileHandle,
OutputStream aOutputStream) |
The data contained in the given file (handle) is written to the provided
output stream.
|
InputStream |
FileSystem.fromFile(FileHandle aFromFileHandle) |
An input stream is being provided from which the data of the file
(handle) may be read.
|
void |
FileSystem.fromFile(FileHandle aFromFileHandle,
File aToFile) |
The data contained in the given file (handle) is written to the provided
file.
|
void |
FileSystem.fromFile(FileHandle aFromFileHandle,
OutputStream aOutputStream) |
The data contained in the given file (handle) is written to the provided
output stream.
|
InputStream |
InMemoryFileSystemImpl.fromFile(FileHandle aFromFileHandle) |
An input stream is being provided from which the data of the file
(handle) may be read.
|
void |
InMemoryFileSystemImpl.fromFile(FileHandle aFromFileHandle,
File aToFile) |
The data contained in the given file (handle) is written to the provided
file.
|
void |
InMemoryFileSystemImpl.fromFile(FileHandle aFromFileHandle,
OutputStream aOutputStream) |
The data contained in the given file (handle) is written to the provided
output stream.
|
boolean |
ChangeRootFileSystemWrapperImpl.hasFile(FileHandle aFileHandle) |
Returns true in case the given file (handle) exists.
|
boolean |
FileSystem.hasFile(FileHandle aFileHandle) |
Returns true in case the given file (handle) exists.
|
boolean |
InMemoryFileSystemImpl.hasFile(FileHandle aFileHandle) |
Returns true in case the given file (handle) exists.
|
FileHandle |
ChangeRootFileSystemWrapperImpl.moveFile(FileHandle aFileHandle,
String aNewKey) |
Renames the file (handle), it will be accessible via the provided key.
|
FileHandle |
FileSystem.moveFile(FileHandle aFileHandle,
String aNewKey) |
Renames the file (handle), it will be accessible via the provided key.
|
FileHandle |
InMemoryFileSystemImpl.moveFile(FileHandle aFileHandle,
String aNewKey) |
Renames the file (handle), it will be accessible via the provided key.
|
FileHandle |
ChangeRootFileSystemWrapperImpl.renameFile(FileHandle aFileHandle,
String aNewName) |
Renames the file (handle), the name part of the key will be renamed to
the new 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.
|
FileHandle |
InMemoryFileSystemImpl.renameFile(FileHandle aFileHandle,
String aNewName) |
Renames the file (handle), the name part of the key will be renamed to
the new name.
|
OutputStream |
ChangeRootFileSystemWrapperImpl.toFile(FileHandle aToFileHandle) |
Returns an output stream which may be used to write (or append, in case
data did already exist for the file system) data to a file (handle).
|
void |
ChangeRootFileSystemWrapperImpl.toFile(FileHandle aToFileHandle,
byte[] aBuffer) |
Data provided by the given buffer is written to the file (handle) (or
appended to the file (handle)'s data in case the file (handle) did
already contain data).
|
void |
ChangeRootFileSystemWrapperImpl.toFile(FileHandle aToFileHandle,
File aFromFile) |
Data provided by the given input stream is written to the file (handle)
(or appended to the file (handle)'s data in case the file (handle) did
already contain data).
|
void |
ChangeRootFileSystemWrapperImpl.toFile(FileHandle aToFileHandle,
InputStream aInputStream) |
Data provided by the given input stream is written to the file (handle)
(or appended to the file (handle)'s data in case the file (handle) did
already contain data).
|
OutputStream |
FileSystem.toFile(FileHandle aToFileHandle) |
Returns an output stream which may be used to write (or append, in case
data did already exist for the file system) data to a file (handle).
|
void |
FileSystem.toFile(FileHandle aToFileHandle,
byte[] aBuffer) |
Data provided by the given buffer is written to the file (handle) (or
appended to the file (handle)'s data in case the file (handle) did
already contain data).
|
void |
FileSystem.toFile(FileHandle aToFileHandle,
File aFromFile) |
Data provided by the given input stream is written to the file (handle)
(or appended to the file (handle)'s data in case the file (handle) did
already contain data).
|
void |
FileSystem.toFile(FileHandle aToFileHandle,
InputStream aInputStream) |
Data provided by the given input stream is written to the file (handle)
(or appended to the file (handle)'s data in case the file (handle) did
already contain data).
|
OutputStream |
InMemoryFileSystemImpl.toFile(FileHandle aToFileHandle) |
Returns an output stream which may be used to write (or append, in case
data did already exist for the file system) data to a file (handle).
|
void |
InMemoryFileSystemImpl.toFile(FileHandle aToFileHandle,
byte[] aBuffer) |
Data provided by the given buffer is written to the file (handle) (or
appended to the file (handle)'s data in case the file (handle) did
already contain data).
|
void |
InMemoryFileSystemImpl.toFile(FileHandle aToFileHandle,
File aFromFile) |
Data provided by the given input stream is written to the file (handle)
(or appended to the file (handle)'s data in case the file (handle) did
already contain data).
|
void |
InMemoryFileSystemImpl.toFile(FileHandle aToFileHandle,
InputStream aInputStream) |
Data provided by the given input stream is written to the file (handle)
(or appended to the file (handle)'s data in case the file (handle) did
already contain data).
|
static FileHandle |
FileSystemUtility.toNormalizedFileHandle(FileHandle aFileHandle,
FileSystem aFileSystem) |
Test whether the given key may jail break from the name space.
|
Constructor | Description |
---|---|
ConcurrentAccessException(FileHandle aFile,
String message) |
Instantiates a new concurrent access exception.
|
ConcurrentAccessException(FileHandle aFile,
String aMessage,
String aErrorCode) |
Instantiates a new concurrent access exception.
|
ConcurrentAccessException(FileHandle aFile,
String message,
Throwable cause) |
Instantiates a new concurrent access exception.
|
ConcurrentAccessException(FileHandle aFile,
String aMessage,
Throwable aCause,
String aErrorCode) |
Instantiates a new concurrent access exception.
|
ConcurrentAccessException(FileHandle aFile,
Throwable cause) |
Instantiates a new concurrent access exception.
|
ConcurrentAccessException(FileHandle aFile,
Throwable aCause,
String aErrorCode) |
Instantiates a new concurrent access exception.
|
FileHandleImpl(FileHandle aFileHandle) |
Constructs a
FileHandle object with the properties of the given
FileHandle . |
IllegalFileHandleException(FileHandle aFile,
String message) |
Instantiates a new illegal file handle exception.
|
IllegalFileHandleException(FileHandle aFile,
String aMessage,
String aErrorCode) |
Instantiates a new illegal file handle exception.
|
IllegalFileHandleException(FileHandle aFile,
String message,
Throwable cause) |
Instantiates a new illegal file handle exception.
|
IllegalFileHandleException(FileHandle aFile,
String aMessage,
Throwable aCause,
String aErrorCode) |
Instantiates a new illegal file handle exception.
|
IllegalFileHandleException(FileHandle aFile,
Throwable cause) |
Instantiates a new illegal file handle exception.
|
IllegalFileHandleException(FileHandle aFile,
Throwable aCause,
String aErrorCode) |
Instantiates a new illegal file handle exception.
|
MutableFileHandleImpl(FileHandle aFileHandle) |
Instantiates a new mutable file handle impl.
|
NoDeleteAccessException(FileHandle aFile,
String message) |
Instantiates a new no delete access exception.
|
NoDeleteAccessException(FileHandle aFile,
String aMessage,
String aErrorCode) |
Instantiates a new no delete access exception.
|
NoDeleteAccessException(FileHandle aFile,
String message,
Throwable cause) |
Instantiates a new no delete access exception.
|
NoDeleteAccessException(FileHandle aFile,
String aMessage,
Throwable aCause,
String aErrorCode) |
Instantiates a new no delete access exception.
|
NoDeleteAccessException(FileHandle aFile,
Throwable cause) |
Instantiates a new no delete access exception.
|
NoDeleteAccessException(FileHandle aFile,
Throwable aCause,
String aErrorCode) |
Instantiates a new no delete access exception.
|
NoReadAccessException(FileHandle aFile,
String message) |
Instantiates a new no read access exception.
|
NoReadAccessException(FileHandle aFile,
String aMessage,
String aErrorCode) |
Instantiates a new no read access exception.
|
NoReadAccessException(FileHandle aFile,
String message,
Throwable cause) |
Instantiates a new no read access exception.
|
NoReadAccessException(FileHandle aFile,
String aMessage,
Throwable aCause,
String aErrorCode) |
Instantiates a new no read access exception.
|
NoReadAccessException(FileHandle aFile,
Throwable cause) |
Instantiates a new no read access exception.
|
NoReadAccessException(FileHandle aFile,
Throwable aCause,
String aErrorCode) |
Instantiates a new no read access exception.
|
NoWriteAccessException(FileHandle aFile,
String message) |
Instantiates a new no write access exception.
|
NoWriteAccessException(FileHandle aFile,
String aMessage,
String aErrorCode) |
Instantiates a new no write access exception.
|
NoWriteAccessException(FileHandle aFile,
String message,
Throwable cause) |
Instantiates a new no write access exception.
|
NoWriteAccessException(FileHandle aFile,
String aMessage,
Throwable aCause,
String aErrorCode) |
Instantiates a new no write access exception.
|
NoWriteAccessException(FileHandle aFile,
Throwable cause) |
Instantiates a new no write access exception.
|
NoWriteAccessException(FileHandle aFile,
Throwable aCause,
String aErrorCode) |
Instantiates a new no write access exception.
|
UnknownFileException(FileHandle aFile,
String message) |
Instantiates a new unknown file exception.
|
UnknownFileException(FileHandle aFile,
String aMessage,
String aErrorCode) |
Instantiates a new unknown file exception.
|
UnknownFileException(FileHandle aFile,
String message,
Throwable cause) |
Instantiates a new unknown file exception.
|
UnknownFileException(FileHandle aFile,
String aMessage,
Throwable aCause,
String aErrorCode) |
Instantiates a new unknown file exception.
|
UnknownFileException(FileHandle aFile,
Throwable cause) |
Instantiates a new unknown file exception.
|
UnknownFileException(FileHandle aFile,
Throwable aCause,
String aErrorCode) |
Instantiates a new unknown file exception.
|
Copyright © 2021. All rights reserved.