| Package | Description |
|---|---|
| de.schlichtherle.truezip.fs |
Provides access to (possibly federated virtual) file systems.
|
| 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.
|
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.
|
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.
|
| 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 |
|---|---|
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<?> |
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.
|
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<?> |
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.
|
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. |
abstract E |
FsArchiveDriver.newEntry(String name,
Entry.Type type,
Entry template,
BitField<FsOutputOption> options)
Returns a new entry for the given name.
|
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 |
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)
Calls
FsController.sync(BitField) on all managed file system
controllers. |
void |
FsDefaultManager.sync(BitField<FsSyncOption> options) |
void |
FsDecoratingController.sync(BitField<FsSyncOption> options) |
abstract 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.
|
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.
|
| 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 collection
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.