Class ArchiveEntry

    • Constructor Summary

      Constructors 
      Constructor Description
      ArchiveEntry​(Archive archive, java.nio.file.Path path, java.lang.String pathPrefix)  
    • Constructor Detail

      • ArchiveEntry

        public ArchiveEntry​(@NonNull
                            Archive archive,
                            @NonNull
                            java.nio.file.Path path,
                            @NonNull
                            java.lang.String pathPrefix)
    • Method Detail

      • setRawFileSize

        public void setRawFileSize​(long rawFileSize)
      • getRawFileSize

        public long getRawFileSize()
      • setDownloadFileSize

        public void setDownloadFileSize​(long downloadFileSize)
      • getDownloadFileSize

        public long getDownloadFileSize()
      • getPath

        @NonNull
        public java.nio.file.Path getPath()
      • getPathPrefix

        @NonNull
        public java.lang.String getPathPrefix()
      • getArchive

        @NonNull
        public Archive getArchive()
      • getNodeDisplayString

        @NonNull
        public 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.
      • getSummaryDisplayString

        @NonNull
        public 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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object