public abstract class ArchiveEntry
extends java.lang.Object
| Constructor and Description |
|---|
ArchiveEntry(Archive archive,
java.nio.file.Path path,
java.lang.String pathPrefix) |
| Modifier and Type | Method and Description |
|---|---|
Archive |
getArchive() |
long |
getDownloadFileSize() |
abstract java.lang.String |
getNodeDisplayString()
Returns a short description string that can be used when displaying this entry in the context
of its parent entry, for example the filename, without the parent path, for an entry
corresponding to a file.
|
java.nio.file.Path |
getPath() |
java.lang.String |
getPathPrefix() |
long |
getRawFileSize() |
abstract java.lang.String |
getSummaryDisplayString()
Returns a description string that summarizes the content of this entry and its parent(s), for
example a full path if the entry corresponding to a file.
|
void |
setDownloadFileSize(long downloadFileSize) |
void |
setRawFileSize(long rawFileSize) |
java.lang.String |
toString() |
public ArchiveEntry(@NonNull
Archive archive,
@NonNull
java.nio.file.Path path,
@NonNull
java.lang.String pathPrefix)
public void setRawFileSize(long rawFileSize)
public long getRawFileSize()
public void setDownloadFileSize(long downloadFileSize)
public long getDownloadFileSize()
@NonNull public java.nio.file.Path getPath()
@NonNull public java.lang.String getPathPrefix()
@NonNull public Archive getArchive()
@NonNull public abstract java.lang.String getNodeDisplayString()
@NonNull public abstract java.lang.String getSummaryDisplayString()
public java.lang.String toString()
toString in class java.lang.Object