| 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 |
|---|---|
static BitField<FsInputOption> |
FsInputOptions.NO_INPUT_OPTION
A bit field with no input options set.
|
static BitField<FsOutputOption> |
FsOutputOptions.NO_OUTPUT_OPTION
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 |
private BitField<FsOutputOption> |
FsCachingController.EntryCache.outputOptions |
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.EntryCache |
FsCachingController.EntryCache.configure(BitField<FsInputOption> options) |
(package private) FsCachingController.EntryCache |
FsCachingController.EntryCache.configure(BitField<FsOutputOption> options,
Entry template) |
InputSocket<?> |
FsStatisticsController.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<?> |
FsStatisticsController.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 |
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 |
FsFederatingController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value) |
boolean |
FsDecoratingController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value) |
abstract boolean |
FsController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value)
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) |
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> |
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> |
FsStatisticsManager.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> |
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.
|
| Constructor and Description |
|---|
FsCachingController.Input(FsEntryName name,
BitField<FsInputOption> options) |
FsCachingController.Output(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
FsFederatingController.Input(FsEntryName name,
BitField<FsInputOption> options) |
FsFederatingController.Output(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
FsStatisticsController.Input(FsEntryName name,
BitField<FsInputOption> options) |
FsStatisticsController.Output(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
| Modifier and Type | Field and Description |
|---|---|
private static BitField<FsOutputOption> |
FsArchiveController.AUTO_MOUNT_OPTIONS |
private static BitField<FsOutputOption> |
FsDefaultArchiveController.MAKE_OUTPUT_OPTIONS |
private static BitField<FsInputOption> |
FsDefaultArchiveController.MOUNT_INPUT_OPTIONS |
private static BitField<FsOutputOption> |
FsDefaultArchiveController.MOUNT_MASK |
(package private) BitField<FsOutputOption> |
FsArchiveFileSystem.PathLink.options |
(package private) BitField<FsOutputOption> |
FsArchiveController.Output.options |
private static BitField<FsSyncOption> |
FsDefaultArchiveController.SYNC_OPTIONS |
private static BitField<FsSyncOption> |
FsArchiveController.UNLINK_SYNC_OPTIONS |
| Modifier and Type | Method and Description |
|---|---|
(package private) FsArchiveFileSystem<E> |
FsFileSystemArchiveController.autoMount(boolean autoCreate,
BitField<FsOutputOption> options) |
(package private) abstract FsArchiveFileSystem<E> |
FsFileSystemArchiveController.MountState.autoMount(boolean autoCreate,
BitField<FsOutputOption> options) |
(package private) FsArchiveFileSystem<E> |
FsFileSystemArchiveController.ResetFileSystem.autoMount(boolean autoCreate,
BitField<FsOutputOption> options) |
(package private) FsArchiveFileSystem<E> |
FsFileSystemArchiveController.MountedFileSystem.autoMount(boolean autoCreate,
BitField<FsOutputOption> options) |
(package private) FsArchiveFileSystem<E> |
FsFileSystemArchiveController.FalsePositiveFileSystem.autoMount(boolean autoCreate,
BitField<FsOutputOption> options) |
(package private) abstract FsArchiveFileSystem<E> |
FsArchiveController.autoMount(boolean autoCreate,
BitField<FsOutputOption> options)
Returns the (virtual) archive file system mounted from the target
archive file.
|
private <X extends IOException> |
FsDefaultArchiveController.awaitSync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler)
Waits for all entry input and entry output streams to close or forces
them to close, dependending on the
options. |
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<?> |
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<?> |
FsArchiveController.getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
(package private) FsDefaultArchiveController.Output |
FsDefaultArchiveController.makeOutput(BitField<FsOutputOption> options)
Ensures that
FsDefaultArchiveController.output is not null. |
FsArchiveFileSystemOperation<E> |
FsReadOnlyArchiveFileSystem.mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
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) |
(package private) abstract void |
FsFileSystemArchiveController.mount(boolean autoCreate,
BitField<FsOutputOption> options)
Mounts the (virtual) archive file system from the target file.
|
(package private) void |
FsDefaultArchiveController.mount(boolean autoCreate,
BitField<FsOutputOption> options) |
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)
|
boolean |
FsReadOnlyArchiveFileSystem.setTime(FsEntryName path,
BitField<Entry.Access> types,
long value) |
boolean |
FsArchiveFileSystem.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value) |
boolean |
FsArchiveController.setTime(FsEntryName name,
BitField<Entry.Access> types,
long value) |
<X extends IOException> |
FsDefaultArchiveController.sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler) |
| Constructor and Description |
|---|
FsArchiveController.Output(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
FsArchiveFileSystem.PathLink(String path,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
| 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-2011 Schlichtherle IT Services. All Rights Reserved.