Package com.android.tools.apk.analyzer
Class ArchiveErrorEntry
- java.lang.Object
-
- com.android.tools.apk.analyzer.ArchiveEntry
-
- com.android.tools.apk.analyzer.ArchiveErrorEntry
-
public class ArchiveErrorEntry extends ArchiveEntry
-
-
Constructor Summary
Constructors Constructor Description ArchiveErrorEntry(Archive archive, java.nio.file.Path path, java.lang.String pathPrefix, java.lang.Throwable error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.-
Methods inherited from class com.android.tools.apk.analyzer.ArchiveEntry
getArchive, getDownloadFileSize, getPath, getPathPrefix, getRawFileSize, setDownloadFileSize, setRawFileSize, toString
-
-
-
-
Constructor Detail
-
ArchiveErrorEntry
public ArchiveErrorEntry(@NonNull Archive archive, @NonNull java.nio.file.Path path, @NonNull java.lang.String pathPrefix, @NonNull java.lang.Throwable error)
-
-
Method Detail
-
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
-
-