TrueZIP Kernel 7.0-rc1

de.schlichtherle.truezip.fs.archive
Class FsArchiveFileSystem.SegmentLink<E extends FsArchiveEntry>

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface de.schlichtherle.truezip.util.Link
Link.Type
 
Field Summary
(package private)  String base
           
(package private)  FsArchiveFileSystemEntry<E> entry
           
 
Constructor Summary
FsArchiveFileSystem.SegmentLink(FsArchiveFileSystemEntry<E> entry, String base)
          Constructs a new SegmentLink.
 
Method Summary
 FsArchiveFileSystemEntry<E> getTarget()
          Returns the target of this link.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entry

final FsArchiveFileSystemEntry<E extends FsArchiveEntry> entry

base

@CheckForNull
final String base
Constructor Detail

FsArchiveFileSystem.SegmentLink

FsArchiveFileSystem.SegmentLink(FsArchiveFileSystemEntry<E> entry,
                                @CheckForNull
                                String base)
Constructs a new SegmentLink.

Parameters:
entry - The non-null file system entry for the path path.
base - The nullable base (segment) path of the path name.
Method Detail

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.

TrueZIP Kernel 7.0-rc1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.