|
TrueZIP Kernel 7.0-rc2 | ||||||||
| 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>
E - The type of the decorated entries.@ThreadSafe public abstract class FsDecoratingEntry<E extends Entry>
An abstract decorator for an entry.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface de.schlichtherle.truezip.entry.Entry |
|---|
Entry.Access, Entry.Size, Entry.Type |
| Field Summary | |
|---|---|
protected E |
delegate
The decorated entry. |
| Fields inherited from interface de.schlichtherle.truezip.entry.Entry |
|---|
NULL, UNKNOWN |
| Constructor Summary | |
|---|---|
protected |
FsDecoratingEntry(E entry)
Constructs a new decorating file system entry. |
| Method Summary | |
|---|---|
String |
getName()
Returns a string representation of the file system entry name. |
long |
getSize(Entry.Size type)
Returns the size of this entry. |
long |
getTime(Entry.Access type)
Returns the last access time of this entry. |
Entry.Type |
getType()
Returns the type of this entry or null if and only if this entry
does not exist. |
String |
toString()
Returns a string representation of this object for debugging and logging purposes. |
| 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 |
| Field Detail |
|---|
@NonNull protected final E extends Entry delegate
| Constructor Detail |
|---|
protected FsDecoratingEntry(@NonNull
E entry)
entry - the decorated entry.| Method Detail |
|---|
public String getName()
FsEntryfile system entry name.
getName in interface EntrygetName in class FsEntryfile system entry name.EntryName.create(String)public Entry.Type getType()
Entrynull if and only if this entry
does not exist.
null if and only if this entry
does not exist.public long getSize(Entry.Size type)
Entry
Entry.UNKNOWN if not specified or the type is unsupported.
This method may not be meaningful for non-file entries.public long getTime(Entry.Access type)
Entry
public String toString()
toString in class FsEntry
|
TrueZIP Kernel 7.0-rc2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||