de.schlichtherle.truezip.fs.archive
Class FsArchiveFileSystem.SegmentLink<E extends FsArchiveEntry>
java.lang.Object
de.schlichtherle.truezip.fs.archive.FsArchiveFileSystem.SegmentLink<E>
- All Implemented Interfaces:
- Link<FsArchiveFileSystemEntry<E>>
- Enclosing class:
- FsArchiveFileSystem<E extends FsArchiveEntry>
private static final class FsArchiveFileSystem.SegmentLink<E extends FsArchiveEntry>
- extends Object
- implements Link<FsArchiveFileSystemEntry<E>>
A data class which represents a segment for use by
FsArchiveFileSystem.PathLink.
| Nested classes/interfaces inherited from interface de.schlichtherle.truezip.util.Link |
Link.Type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
final FsEntryName name
base
@CheckForNull
final String base
entry
final FsArchiveFileSystemEntry<E extends FsArchiveEntry> entry
FsArchiveFileSystem.SegmentLink
FsArchiveFileSystem.SegmentLink(FsEntryName name,
@CheckForNull
String base,
FsArchiveFileSystemEntry<E> entry)
- Constructs a new
SegmentLink.
- Parameters:
name - the entry name.base - the nullable base name of the entry name.entry - the non-null file system entry for the entry
name.
getTarget
public FsArchiveFileSystemEntry<E> getTarget()
- Description copied from interface:
Link
- Returns the target of this link.
The returned object reference may be null subject to the terms
and conditions of sub-interfaces or implementations.
- Specified by:
getTarget in interface Link<FsArchiveFileSystemEntry<E extends FsArchiveEntry>>
- Returns:
- The target of this link.
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.