TrueZIP Kernel 7.0-rc1

de.schlichtherle.truezip.fs.archive
Class FsArchiveFileSystemEntry.NamedSpecialFileEntry<E extends FsArchiveEntry>

java.lang.Object
  extended by de.schlichtherle.truezip.fs.FsEntry
      extended by de.schlichtherle.truezip.fs.FsDecoratingEntry<E>
          extended by de.schlichtherle.truezip.fs.archive.FsArchiveFileSystemEntry<E>
              extended by de.schlichtherle.truezip.fs.archive.FsArchiveFileSystemEntry.NamedSpecialFileEntry<E>
All Implemented Interfaces:
Entry
Enclosing class:
FsArchiveFileSystemEntry<E extends FsArchiveEntry>

private static class FsArchiveFileSystemEntry.NamedSpecialFileEntry<E extends FsArchiveEntry>
extends FsArchiveFileSystemEntry<E>

A named special file entry.


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.schlichtherle.truezip.entry.Entry
Entry.Access, Entry.Size, Entry.Type
 
Field Summary
(package private)  String path
           
 
Fields inherited from class de.schlichtherle.truezip.fs.FsDecoratingEntry
delegate
 
Fields inherited from interface de.schlichtherle.truezip.entry.Entry
NULL, UNKNOWN
 
Constructor Summary
FsArchiveFileSystemEntry.NamedSpecialFileEntry(String path, E entry)
           
 
Method Summary
 Set<String> getMembers()
          If this is not a directory entry, null is returned.
 String getName()
          Returns a string representation of the file system entry name.
 Entry.Type getType()
          Returns the type of this entry or null if and only if this entry does not exist.
 
Methods inherited from class de.schlichtherle.truezip.fs.archive.FsArchiveFileSystemEntry
add, clone, create, create, getEntry, remove
 
Methods inherited from class de.schlichtherle.truezip.fs.FsDecoratingEntry
getSize, getTime, toString
 
Methods inherited from class de.schlichtherle.truezip.fs.FsEntry
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

path

final String path
Constructor Detail

FsArchiveFileSystemEntry.NamedSpecialFileEntry

FsArchiveFileSystemEntry.NamedSpecialFileEntry(String path,
                                               E entry)
Method Detail

getName

public String getName()
Description copied from class: FsEntry
Returns a string representation of the file system entry name.

Specified by:
getName in interface Entry
Overrides:
getName in class FsDecoratingEntry<E extends FsArchiveEntry>
Returns:
A string representation of the file system entry name.
See Also:
EntryName.create(java.lang.String, java.lang.String)

getType

public Entry.Type getType()
Description copied from interface: Entry
Returns the type of this entry or null if and only if this entry does not exist.

Specified by:
getType in interface Entry
Overrides:
getType in class FsDecoratingEntry<E extends FsArchiveEntry>
Returns:
The type of this entry or null if and only if this entry does not exist.

getMembers

public Set<String> getMembers()
Description copied from class: FsEntry
If this is not a directory entry, null is returned. Otherwise, an unmodifiable set of strings is returned which represent the base names of the members of this directory entry.

Specified by:
getMembers in class FsEntry

TrueZIP Kernel 7.0-rc1

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