|
TrueZIP Kernel 7.0-rc1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.schlichtherle.truezip.fs.FsEntry
de.schlichtherle.truezip.fs.FsDecoratingEntry<E>
de.schlichtherle.truezip.fs.archive.FsArchiveFileSystemEntry<E>
E - The type of the decorated archive entries.@NotThreadSafe @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public abstract class FsArchiveFileSystemEntry<E extends FsArchiveEntry>
An abstract archive file system entry which adapts an
archive entry to a file system entry.
| Nested Class Summary | |
|---|---|
private static class |
FsArchiveFileSystemEntry.DirectoryEntry<E extends FsArchiveEntry>
A directory entry. |
private static class |
FsArchiveFileSystemEntry.FileEntry<E extends FsArchiveEntry>
A file entry. |
private static class |
FsArchiveFileSystemEntry.NamedDirectoryEntry<E extends FsArchiveEntry>
A named directory entry. |
private static class |
FsArchiveFileSystemEntry.NamedFileEntry<E extends FsArchiveEntry>
A named file entry. |
private static class |
FsArchiveFileSystemEntry.NamedSpecialFileEntry<E extends FsArchiveEntry>
A named special file entry. |
| Nested classes/interfaces inherited from interface de.schlichtherle.truezip.entry.Entry |
|---|
Entry.Access, Entry.Size, Entry.Type |
| Field Summary |
|---|
| Fields inherited from class de.schlichtherle.truezip.fs.FsDecoratingEntry |
|---|
delegate |
| Fields inherited from interface de.schlichtherle.truezip.entry.Entry |
|---|
NULL, UNKNOWN |
| Constructor Summary | |
|---|---|
private |
FsArchiveFileSystemEntry(E entry)
Constructs a new instance of Entry. |
| Method Summary | ||
|---|---|---|
(package private) boolean |
add(String member)
Adds the given base path to the set of members of this directory if and only if this file system entry is a directory. |
|
(package private) FsArchiveFileSystemEntry<E> |
clone(FsArchiveFileSystem<E> fileSystem)
|
|
static
|
create(FsEntryName name,
Entry.Type type,
E entry)
Constructs a new archive file system entry which decorates the given archive entry. |
|
(package private) static
|
create(String path,
Entry.Type type,
E entry)
|
|
E |
getEntry()
Returns the archive entry which is adapted by this archive file system entry. |
|
(package private) boolean |
remove(String member)
Removes the given base path from the set of members of this directory if and only if this file system entry is a directory. |
|
| Methods inherited from class de.schlichtherle.truezip.fs.FsDecoratingEntry |
|---|
getName, getSize, getTime, getType, toString |
| Methods inherited from class de.schlichtherle.truezip.fs.FsEntry |
|---|
equals, getMembers, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
private FsArchiveFileSystemEntry(E entry)
Entry.
| Method Detail |
|---|
public static <E extends FsArchiveEntry> FsArchiveFileSystemEntry<E> create(FsEntryName name,
Entry.Type type,
E entry)
static <E extends FsArchiveEntry> FsArchiveFileSystemEntry<E> create(String path,
Entry.Type type,
E entry)
public final E getEntry()
FsArchiveFileSystemEntry<E> clone(FsArchiveFileSystem<E> fileSystem)
boolean add(String member)
member - The non-null base path of the member to add.
UnsupportedOperationException - if this file system entry is
not a directory.boolean remove(String member)
member - The non-null base path of the member to
remove.
UnsupportedOperationException - if this file system entry is
not a directory.
|
TrueZIP Kernel 7.0-rc1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||