| 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 |
General utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
private static BitField<FsSyncOption> |
FsCachingController.ABORT_CHANGES_OPTIONS |
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
A bit field with no input options set.
|
static BitField<FsOutputOption> |
FsOutputOptions.NO_OUTPUT_OPTION
Deprecated.
|
static BitField<FsOutputOption> |
FsOutputOptions.NO_OUTPUT_OPTIONS
A bit field with no output options set.
|
(package private) BitField<FsInputOption> |
FsFederatingController.Input.options |
(package private) BitField<FsOutputOption> |
FsFederatingController.Output.options |
(package private) BitField<FsInputOption> |
FsCachingController.Input.options |
(package private) BitField<FsOutputOption> |
FsCachingController.Output.options |
static BitField<FsOutputOption> |
FsOutputOptions.OUTPUT_PREFERENCES_MASK
The mask of output preferences, which is
. |
(package private) BitField<FsOutputOption> |
FsCachingController.EntryController.outputOptions |
private static BitField<FsSyncOption> |
FsSyncController.SYNC_OPTIONS |
static BitField<FsSyncOption> |
FsSyncOptions.UMOUNT
Equivalent to
BitField.of(FsSyncOption.FORCE_CLOSE_INPUT, FsSyncOption.FORCE_CLOSE_OUTPUT, FsSyncOption.CLEAR_CACHE). |
static BitField<FsSyncOption> |
FsManager.UMOUNT
Equivalent to
BitField.of(FsSyncOption.FORCE_CLOSE_INPUT, FsSyncOption.FORCE_CLOSE_OUTPUT, FsSyncOption.CLEAR_CACHE). |
| Modifier and Type | Method and Description |
|---|---|
private <X extends IOException> |
FsCachingController.beforeSync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
(package private) FsCachingController.EntryController |
FsCachingController.EntryController.configure(BitField<FsInputOption> options) |
(package private) FsCachingController.EntryController |
FsCachingController.EntryController.configure(BitField<FsOutputOption> options,
Entry template) |
InputSocket<?> |
FsSyncController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
InputSocket<?> |
FsResourceController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
InputSocket<?> |
FsFederatingController.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<?> |
FsConcurrentController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
InputSocket<?> |
FsCachingController.getInputSocket(FsEntryName name,
BitField<FsInputOption> options) |
OutputSocket<?> |
FsSyncController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
OutputSocket<?> |
FsResourceController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
OutputSocket<?> |
FsFederatingController.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<?> |
FsConcurrentController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
OutputSocket<?> |
FsCachingController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
void |
FsSyncController.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
void |
FsFederatingController.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 |
FsConcurrentController.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
void |
FsCachingController.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
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 |
FsFederatingController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsFederatingController.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 |
FsConcurrentController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsConcurrentController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value,
BitField<FsOutputOption> options) |
boolean |
FsSyncController.setTime(FsEntryName name,
Map<Entry.Access,Long> times,
BitField<FsOutputOption> options) |
boolean |
FsFederatingController.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.
|
boolean |
FsConcurrentController.setTime(FsEntryName name,
Map<Entry.Access,Long> times,
BitField<FsOutputOption> options) |
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> |
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> |
FsConcurrentController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
<X extends IOException> |
FsCachingController.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 |
FsFederatingController.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 |
FsConcurrentController.unlink(FsEntryName name,
BitField<FsOutputOption> options) |
void |
FsCachingController.unlink(FsEntryName name,
BitField<FsOutputOption> options) |
private void |
FsCachingController.unlink0(FsEntryName name,
BitField<FsOutputOption> options) |
private <X extends IOException> |
FsResourceController.waitOtherThreads(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. |
| Constructor and Description |
|---|
FsCachingController.Input(InputSocket<?> input,
FsEntryName name,
BitField<FsInputOption> options) |
FsCachingController.Output(OutputSocket<?> output,
FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
FsFederatingController.Input(InputSocket<?> input,
FsEntryName name,
BitField<FsInputOption> options) |
FsFederatingController.Output(OutputSocket<?> output,
FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
| Modifier and Type | Field and Description |
|---|---|
private static BitField<FsInputOption> |
FsDefaultArchiveController.MOUNT_INPUT_OPTIONS |
(package private) BitField<FsOutputOption> |
FsArchiveFileSystem.PathLink.options |
private BitField<FsOutputOption> |
FsOperationContext.outputOptions |
| Modifier and Type | Field and Description |
|---|---|
private static Map<BitField<FsOutputOption>,FsOperationContext> |
FsContextController.contexts |
| 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
name in controller using options and
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) |
abstract E |
FsArchiveDriver.newEntry(String name,
Entry.Type type,
Entry template,
BitField<FsOutputOption> mknod)
Returns a new archive entry for the given name.
|
private E |
FsArchiveFileSystem.newEntryChecked(String name,
Entry.Type type,
BitField<FsOutputOption> mknod,
Entry template)
Returns a new archive entry.
|
private E |
FsArchiveFileSystem.newEntryUnchecked(String name,
Entry.Type type,
BitField<FsOutputOption> mknod,
Entry template)
|
(package private) void |
FsOperationContext.setOutputOptions(BitField<FsOutputOption> outputOptions)
Sets the options for the output operation in progress.
|
(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> |
FsDefaultArchiveController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
<X extends IOException> |
FsContextController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
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) |
| 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 © 2004-2011 Schlichtherle IT Services. All Rights Reserved.