E - The type of the archive entries.@NotThreadSafe @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) abstract class FsFileSystemArchiveController<E extends FsArchiveEntry> extends FsArchiveController<E>
| Modifier and Type | Class and Description |
|---|---|
private class |
FsFileSystemArchiveController.FalsePositiveFileSystem |
private class |
FsFileSystemArchiveController.MountedFileSystem |
private static class |
FsFileSystemArchiveController.MountState<E extends FsArchiveEntry>
Represents the mount state of the archive file system.
|
private class |
FsFileSystemArchiveController.ResetFileSystem |
| Modifier and Type | Field and Description |
|---|---|
private FsFileSystemArchiveController.MountState<E> |
mountState
The mount state of the archive file system.
|
| Constructor and Description |
|---|
FsFileSystemArchiveController(FsConcurrentModel model)
Creates a new instance of FsFileSystemArchiveController
|
| Modifier and Type | Method and Description |
|---|---|
(package private) FsArchiveFileSystem<E> |
autoMount(boolean autoCreate,
BitField<FsOutputOption> options)
Returns the (virtual) archive file system mounted from the target
archive file.
|
(package private) FsArchiveFileSystem<E> |
getFileSystem() |
(package private) abstract void |
mount(boolean autoCreate,
BitField<FsOutputOption> options)
Mounts the (virtual) archive file system from the target file.
|
(package private) void |
setFileSystem(FsArchiveFileSystem<E> fileSystem) |
autoMount, autoSync, getEntry, getInputSocket, getInputSocket, getModel, getOutputSocket, getOutputSocket, isReadable, isReadOnly, isWritable, mknod, setReadOnly, setTime, unlinkequals, getClosedIcon, getOpenIcon, getParent, hashCode, sync, sync, toStringprivate FsFileSystemArchiveController.MountState<E extends FsArchiveEntry> mountState
FsFileSystemArchiveController(FsConcurrentModel model)
final FsArchiveFileSystem<E> autoMount(boolean autoCreate, BitField<FsOutputOption> options) throws IOException
FsArchiveControllerWarning: Either the read or the write lock of this controller must be acquired while this method is called! If only a read lock is acquired, but a write lock is required, this method will temporarily release all locks, so any preconditions must be checked again upon return to protect against concurrent modifications!
autoMount in class FsArchiveController<E extends FsArchiveEntry>autoCreate - If the archive file does not exist and this is
true, a new file system with only a (virtual) root
directory is created with its last modification time set to the
system's current time.null is never returned.IOException@Nullable final FsArchiveFileSystem<E> getFileSystem()
final void setFileSystem(@CheckForNull
FsArchiveFileSystem<E> fileSystem)
abstract void mount(boolean autoCreate,
BitField<FsOutputOption> options)
throws IOException
Upon normal termination, this method is expected to have called
FsFileSystemArchiveController.ResetFileSystem to assign the fully initialized file system
to this controller.
Other than this, the method must not have any side effects on the
state of this class or its super class.
It may, however, have side effects on the state of the sub class.
autoCreate - If the archive file does not exist and this is
true, a new file system with only a (virtual) root
directory is created with its last modification time set to the
system's current time.IOExceptionCopyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.