| Package | Description |
|---|---|
| de.schlichtherle.truezip.fs |
Provides access to (possibly federated virtual) file systems.
|
| de.schlichtherle.truezip.fs.archive |
Provides acces to archive files as if they were just directories.
|
| de.schlichtherle.truezip.util |
Provides general utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
static BitField<FsInputOption> |
FsInputOptions.INPUT_PREFERENCES_MASK
The mask of input preferences, which is
. |
static BitField<FsInputOption> |
FsInputOptions.NO_INPUT_OPTION
Deprecated.
|
static BitField<FsInputOption> |
FsInputOptions.NO_INPUT_OPTIONS
Deprecated.
|
static BitField<FsOutputOption> |
FsOutputOptions.NO_OUTPUT_OPTION
Deprecated.
|
static BitField<FsOutputOption> |
FsOutputOptions.NO_OUTPUT_OPTIONS
Deprecated.
|
(package private) static BitField<FsSyncOption> |
FsSyncOptions.NONE
A bit field with no synchronization options set.
|
static BitField<FsOutputOption> |
FsOutputOptions.NONE
A bit field with no output options set.
|
static BitField<FsInputOption> |
FsInputOptions.NONE
A bit field with no input options set.
|
private static BitField<FsSyncOption> |
FsLockController.NOT_WAIT_CLOSE_IO |
(package private) BitField<FsInputOption> |
FsCacheController.EntryCache.Input.options |
(package private) BitField<FsOutputOption> |
FsCacheController.EntryCache.Output.options |
static BitField<FsOutputOption> |
FsOutputOptions.OUTPUT_PREFERENCES_MASK
The mask of output preferences, which is
. |
static BitField<FsSyncOption> |
FsSyncOptions.RESET
Aborts all pending changes for the federated file system, clears the
selective cache without flushing it and makes the file system controller
eligible for garbage collection unless any strong references are held by
the client application.
|
static BitField<FsSyncOption> |
FsSyncOptions.SYNC
Waits for all other threads to close their I/O resources (i.e. streams,
channels etc) for any entries of the file system, flushes its selective
entry cache without clearing it and commits all changes to its parent
file system (if any).
|
static BitField<FsSyncOption> |
FsSyncOptions.UMOUNT
Forcibly closes all I/O resources (i.e. streams, channels etc) for any
entries of the file system, flushes and clears its selective entry cache,
commits all changes to its parent file system (if any) and makes its
controller eligible for garbage collection unless any strong references
are held by the client application.
|
static BitField<FsSyncOption> |
FsManager.UMOUNT
Deprecated.
Use
FsSyncOptions.UMOUNT instead. |
| Modifier and Type | Method and Description |
|---|---|
static BitField<FsInputOption> |
FsInputOptions.of(FsInputOption... options)
Converts the given array to a bit field of input options.
|
static BitField<FsOutputOption> |
FsOutputOptions.of(FsOutputOption... options)
Converts the given array to a bit field of output options.
|
static BitField<FsSyncOption> |
FsSyncOptions.of(FsSyncOption... options)
Converts the given array to a bit field of synchronization options.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) InputSocket<?> |
FsCacheController.EntryCache.getInputSocket(BitField<FsInputOption> options) |
InputSocket<?> |
FsSyncController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
InputSocket<?> |
FsResourceController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
InputSocket<?> |
FsLockController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
InputSocket<?> |
FsFinalizeController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
InputSocket<?> |
FsFalsePositiveController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
InputSocket<?> |
FsDecoratingController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
abstract InputSocket<?> |
FsController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options)
Returns an input socket for reading the contents of the file system
entry addressed by the given name from the file system.
|
InputSocket<?> |
FsCacheController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
(package private) OutputSocket<?> |
FsCacheController.EntryCache.getOutputSocket(BitField<FsOutputOption> options,
Entry template) |
OutputSocket<?> |
FsSyncController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
OutputSocket<?> |
FsResourceController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
OutputSocket<?> |
FsLockController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
OutputSocket<?> |
FsFinalizeController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
OutputSocket<?> |
FsFalsePositiveController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
OutputSocket<?> |
FsDecoratingController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
abstract OutputSocket<?> |
FsController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template)
Returns an output socket for writing the contents of the entry addressed
by the given name to the file system.
|
OutputSocket<?> |
FsCacheController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
(package private) void |
FsCacheController.EntryCache.Output.mknod(BitField<FsOutputOption> options,
Entry template) |
void |
FsSyncController.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
void |
FsLockController.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
void |
FsFalsePositiveController.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
void |
FsDecoratingController.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
abstract void |
FsController.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template)
Creates or replaces and finally links a chain of one or more entries
for the given entry
name into the file system. |
void |
FsCacheController.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
(package private) abstract InputSocket<?> |
FsFinalizeController.SocketFactory.newInputSocket(FsFinalizeController<?> controller,
FsEntryName name,
BitField<FsInputOption> options) |
(package private) abstract InputSocket<?> |
FsLockController.SocketFactory.newInputSocket(FsLockController controller,
FsEntryName name,
BitField<FsInputOption> options) |
(package private) abstract InputSocket<?> |
FsResourceController.SocketFactory.newInputSocket(FsResourceController controller,
FsEntryName name,
BitField<FsInputOption> options) |
(package private) abstract InputSocket<?> |
FsSyncController.SocketFactory.newInputSocket(FsSyncController<?> controller,
FsEntryName name,
BitField<FsInputOption> options) |
(package private) abstract OutputSocket<?> |
FsCacheController.SocketFactory.newOutputSocket(FsCacheController.EntryCache cache,
BitField<FsOutputOption> options,
Entry template) |
(package private) abstract OutputSocket<?> |
FsFinalizeController.SocketFactory.newOutputSocket(FsFinalizeController<?> controller,
FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
(package private) abstract OutputSocket<?> |
FsLockController.SocketFactory.newOutputSocket(FsLockController controller,
FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
(package private) abstract OutputSocket<?> |
FsResourceController.SocketFactory.newOutputSocket(FsResourceController controller,
FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
(package private) abstract OutputSocket<?> |
FsSyncController.SocketFactory.newOutputSocket(FsSyncController<?> controller,
FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
private <X extends IOException> |
FsCacheController.preSync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
boolean |
FsSyncController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsSyncController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsLockController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsLockController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsFalsePositiveController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsFalsePositiveController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsDecoratingController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsDecoratingController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
abstract boolean |
FsController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options)
Makes an attempt to set the last access time of all types in the given
bit field for the file system entry with the given name.
|
abstract boolean |
FsController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options)
Makes an attempt to set the last access time of all types in the given
bit field for the file system entry with the given name.
|
boolean |
FsSyncController.setTime(FsEntryName name,
Map<Entry.Access,Long> times,
BitField<FsOutputOption> options) |
boolean |
FsLockController.setTime(FsEntryName name,
Map<Entry.Access,Long> times,
BitField<FsOutputOption> options) |
boolean |
FsFalsePositiveController.setTime(FsEntryName name,
Map<Entry.Access,Long> times,
BitField<FsOutputOption> options) |
boolean |
FsDecoratingController.setTime(FsEntryName name,
Map<Entry.Access,Long> times,
BitField<FsOutputOption> options) |
boolean |
FsController.setTime(FsEntryName name,
Map<Entry.Access,Long> times,
BitField<FsOutputOption> options)
Makes an attempt to set the last access time of all types in the given
map for the file system entry with the given name.
|
void |
FsManager.sync(BitField<FsSyncOption> options)
Commits all unsynchronized changes to the contents of all federated file
systems managed by this instance to their respective parent file system,
releases the associated resources (e.g. target archive files) for
access by third parties (e.g. other processes), cleans up any temporary
allocated resources (e.g. temporary files) and purges any cached data.
|
void |
FsController.sync(BitField<FsSyncOption> options)
Commits all unsynchronized changes to the contents of this file system
to its parent file system,
releases the associated resources (e.g. target archive files) for
access by third parties (e.g. other processes), cleans up any temporary
allocated resources (e.g. temporary files) and purges any cached data.
|
<X extends IOException> |
FsResourceController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
<X extends IOException> |
FsLockController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
<X extends IOException> |
FsFalsePositiveController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
<X extends IOException> |
FsDecoratingController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
abstract <X extends IOException> |
FsController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler)
Commits all unsynchronized changes to the contents of this file system
to its parent file system,
releases the associated resources (e.g. target archive files) for
access by third parties (e.g. other processes), cleans up any temporary
allocated resources (e.g. temporary files) and purges any cached data.
|
<X extends IOException> |
FsCacheController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
<X extends IOException> |
FsManager.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super IOException,X> handler)
Commits all unsynchronized changes to the contents of all federated file
systems managed by this instance to their respective parent file system,
releases the associated resources (e.g. target archive files) for
access by third parties (e.g. other processes), cleans up any temporary
allocated resources (e.g. temporary files) and purges any cached data.
|
<X extends IOException> |
FsFailSafeManager.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super IOException,X> handler)
Commits all unsynchronized changes to the contents of all federated file
systems managed by this instance to their respective parent file system,
releases the associated resources (e.g. target archive files) for
access by third parties (e.g. other processes), cleans up any temporary
allocated resources (e.g. temporary files) and purges any cached data.
|
void |
FsSyncController.unlink(FsEntryName name,
BitField<FsOutputOption> options) |
void |
FsLockController.unlink(FsEntryName name,
BitField<FsOutputOption> options) |
void |
FsFalsePositiveController.unlink(FsEntryName name,
BitField<FsOutputOption> options) |
void |
FsDecoratingController.unlink(FsEntryName name,
BitField<FsOutputOption> options) |
abstract void |
FsController.unlink(FsEntryName name,
BitField<FsOutputOption> options)
Removes the named file system entry from the file system.
|
void |
FsCacheController.unlink(FsEntryName name,
BitField<FsOutputOption> options) |
private <X extends IOException> |
FsResourceController.waitIdle(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler)
Waits for all entry input and output resources to close or forces
them to close, dependending on the
options. |
| Modifier and Type | Field and Description |
|---|---|
private static BitField<FsInputOption> |
FsTargetArchiveController.MOUNT_INPUT_OPTIONS |
(package private) BitField<FsOutputOption> |
FsArchiveFileSystem.PathLink.options |
(package private) BitField<FsOutputOption> |
FsArchiveController.Output.options |
private BitField<FsOutputOption> |
FsOperationContext.outputOptions |
| Modifier and Type | Method and Description |
|---|---|
(package private) BitField<FsOutputOption> |
FsOperationContext.getOutputOptions()
Returns the options for the output operation in progress.
|
| Modifier and Type | Method and Description |
|---|---|
InputSocket<?> |
FsArchiveDriver.getInputSocket(FsController<?> controller,
FsEntryName name,
BitField<FsInputOption> options)
Called to prepare reading an archive file artifact of this driver from
name in controller using options. |
InputSocket<?> |
FsContextController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
InputSocket<?> |
FsArchiveController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
OutputSocket<?> |
FsArchiveDriver.getOutputSocket(FsController<?> controller,
FsEntryName name,
BitField<FsOutputOption> options,
Entry template)
Called to prepare writing an archive file artifact of this driver to
the entry
name in controller using options and
the nullable template. |
OutputSocket<?> |
FsContextController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
OutputSocket<?> |
FsArchiveController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
private static FsOperationContext |
FsContextController.makeContext(BitField<FsOutputOption> options)
Returns an operation context holding the given output options.
|
(package private) FsArchiveFileSystemOperation<E> |
FsReadOnlyArchiveFileSystem.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
void |
FsContextController.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
(package private) FsArchiveFileSystemOperation<E> |
FsArchiveFileSystem.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template)
Begins a transaction to create or replace and finally link a
chain of one or more archive entries for the given
path into
this archive file system. |
void |
FsArchiveController.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
private E |
FsArchiveFileSystem.newCheckedEntry(String name,
Entry.Type type,
BitField<FsOutputOption> mknod,
Entry template)
Returns a new archive entry.
|
private E |
FsArchiveFileSystem.newEntry(String name,
Entry.Type type,
BitField<FsOutputOption> mknod,
Entry template)
|
abstract E |
FsArchiveDriver.newEntry(String name,
Entry.Type type,
Entry template,
BitField<FsOutputOption> mknod)
Returns a new entry for the given name.
|
(package private) boolean |
FsReadOnlyArchiveFileSystem.setTime(FsEntryName path,
BitField<Entry.Access> types,
long value) |
(package private) boolean |
FsArchiveFileSystem.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value) |
boolean |
FsContextController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsContextController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsArchiveController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsArchiveController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsContextController.setTime(FsEntryName name,
Map<Entry.Access,Long> times,
BitField<FsOutputOption> options) |
boolean |
FsArchiveController.setTime(FsEntryName name,
Map<Entry.Access,Long> times,
BitField<FsOutputOption> options) |
<X extends IOException> |
FsTargetArchiveController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
<X extends IOException> |
FsContextController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
private <X extends IOException> |
FsTargetArchiveController.sync0(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
void |
FsResetController.unlink(FsEntryName name,
BitField<FsOutputOption> options) |
void |
FsContextController.unlink(FsEntryName name,
BitField<FsOutputOption> options) |
void |
FsArchiveController.unlink(FsEntryName name,
BitField<FsOutputOption> options) |
| Constructor and Description |
|---|
FsArchiveController.Output(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
FsArchiveFileSystem.PathLink(String path,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
FsContextController.Output(OutputSocket<?> output,
BitField<FsOutputOption> options) |
FsOperationContext(BitField<FsOutputOption> outputOptions) |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Enum<E>> |
BitField.allOf(Class<E> elementType)
Returns a bit field which contains all enums of the given element type.
|
BitField<E> |
BitField.and(BitField<E> that) |
BitField<E> |
BitField.clear(E bit)
Clears the given bit.
|
static <E extends Enum<E>> |
BitField.copyOf(Collection<E> bits)
Returns a bit field which contains the same bits as the given set of
enums.
|
static <E extends Enum<E>> |
BitField.noneOf(Class<E> elementType)
Returns a bit field which can contain the given element type and is
initially empty.
|
BitField<E> |
BitField.not() |
static <E extends Enum<E>> |
BitField.of(Class<E> elementType,
String list) |
static <E extends Enum<E>> |
BitField.of(E bit)
Returns a bit field which contains the given bit.
|
static <E extends Enum<E>> |
BitField.of(E bit,
E... bits)
Returns a bit field which contains the given bits.
|
BitField<E> |
BitField.or(BitField<E> that) |
BitField<E> |
BitField.set(E bit)
Sets the given bit.
|
BitField<E> |
BitField.set(E bit,
boolean set)
Sets or clears the given bit.
|
| Modifier and Type | Method and Description |
|---|---|
BitField<E> |
BitField.and(BitField<E> that) |
BitField<E> |
BitField.or(BitField<E> that) |
Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.