private final class FsArchiveFileSystem.PathLink extends Object implements FsArchiveFileSystemOperation<E>
run() method, which may render the operation
illegal and corrupt the file system.
As long as only the ArchiveControllers in the package
de.schlichtherle.truezip.fs.archive are used, this should not
happen, however.| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
createParents |
(package private) FsArchiveFileSystem.SegmentLink<E>[] |
links |
(package private) BitField<FsOutputOption> |
options |
(package private) long |
time |
| Constructor and Description |
|---|
FsArchiveFileSystem.PathLink(String path,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template) |
| Modifier and Type | Method and Description |
|---|---|
private long |
getCurrentTimeMillis() |
FsCovariantEntry<E> |
getTarget()
Returns the target of this link.
|
private FsArchiveFileSystem.SegmentLink<E>[] |
newSegmentLinks(int level,
String entryName,
Entry.Type entryType,
Entry template) |
void |
run()
Executes this archive file system operation.
|
final boolean createParents
final BitField<FsOutputOption> options
final FsArchiveFileSystem.SegmentLink<E extends FsArchiveEntry>[] links
long time
FsArchiveFileSystem.PathLink(String path, Entry.Type type, BitField<FsOutputOption> options, @CheckForNull Entry template) throws FsArchiveFileSystemException
FsArchiveFileSystemExceptionprivate FsArchiveFileSystem.SegmentLink<E>[] newSegmentLinks(int level, String entryName, Entry.Type entryType, @CheckForNull Entry template) throws FsArchiveFileSystemException
FsArchiveFileSystemExceptionpublic void run()
throws FsArchiveFileSystemException
FsArchiveFileSystemOperationrun in interface FsArchiveFileSystemOperation<E extends FsArchiveEntry>FsArchiveFileSystemExceptionprivate long getCurrentTimeMillis()
public FsCovariantEntry<E> getTarget()
Link
The returned object reference may be null subject to the terms
and conditions of sub-interfaces or implementations.
getTarget in interface Link<FsCovariantEntry<E extends FsArchiveEntry>>Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.