Package com.android.tools.apk.analyzer
Class ArchivePathEntry
- java.lang.Object
-
- com.android.tools.apk.analyzer.ArchiveEntry
-
- com.android.tools.apk.analyzer.ArchivePathEntry
-
- Direct Known Subclasses:
InnerArchiveEntry
public class ArchivePathEntry extends ArchiveEntry
-
-
Constructor Summary
Constructors Constructor Description ArchivePathEntry(Archive archive, java.nio.file.Path path, java.lang.String pathPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDownloadFileSize()java.lang.StringgetNodeDisplayString()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.longgetRawFileSize()java.lang.StringgetSummaryDisplayString()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.voidsetDownloadFileSize(long downloadFileSize)voidsetRawFileSize(long rawFileSize)-
Methods inherited from class com.android.tools.apk.analyzer.ArchiveEntry
getArchive, getPath, getPathPrefix, toString
-
-
-
-
Constructor Detail
-
ArchivePathEntry
public ArchivePathEntry(@NonNull Archive archive, @NonNull java.nio.file.Path path, @NonNull java.lang.String pathPrefix)
-
-
Method Detail
-
setRawFileSize
public void setRawFileSize(long rawFileSize)
- Overrides:
setRawFileSizein classArchiveEntry
-
getRawFileSize
public long getRawFileSize()
- Overrides:
getRawFileSizein classArchiveEntry
-
setDownloadFileSize
public void setDownloadFileSize(long downloadFileSize)
- Overrides:
setDownloadFileSizein classArchiveEntry
-
getDownloadFileSize
public long getDownloadFileSize()
- Overrides:
getDownloadFileSizein classArchiveEntry
-
getNodeDisplayString
@NonNull public java.lang.String getNodeDisplayString()
Description copied from class:ArchiveEntryReturns 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.- Specified by:
getNodeDisplayStringin classArchiveEntry
-
getSummaryDisplayString
@NonNull public java.lang.String getSummaryDisplayString()
Description copied from class:ArchiveEntryReturns 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.- Specified by:
getSummaryDisplayStringin classArchiveEntry
-
-