MergedZipEntryCollection

public class MergedZipEntryCollection
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.zip.MergedZipEntryCollection


כדי לצמצם את מספר הניסיונות להורדה, אפשר למזג רשומות ZIP נפרדות בקובץ ZIP גדול לבלוקים.

סיכום

ערכים קבועים

int HEADER_SIZE

int MAX_GAP

double MAX_GAP_PERCENTAGE

‫Constructors ציבוריים

MergedZipEntryCollection(List<CentralDirectoryInfo> zipEntries)

‫methods ציבוריים

static List<MergedZipEntryCollection> createCollections(List<CentralDirectoryInfo> zipEntries)
long getEndOffset()
long getStartOffset()
List<CentralDirectoryInfo> getZipEntries()

ערכים קבועים

HEADER_SIZE

public static final int HEADER_SIZE

ערך קבוע: 2078 (0x0000081e)

MAX_GAP

public static final int MAX_GAP

ערך קבוע: 4096 (0x00001000)

MAX_GAP_PERCENTAGE

public static final double MAX_GAP_PERCENTAGE

ערך קבוע: 0.15

‫constructors ציבוריים

MergedZipEntryCollection

public MergedZipEntryCollection (List<CentralDirectoryInfo> zipEntries)

פרמטרים
zipEntries List

‫methods ציבוריים

createCollections

public static List<MergedZipEntryCollection> createCollections (List<CentralDirectoryInfo> zipEntries)

פרמטרים
zipEntries List

החזרות
List<MergedZipEntryCollection>

getEndOffset

public long getEndOffset ()

החזרות
long

getStartOffset

public long getStartOffset ()

החזרות
long

getZipEntries

public List<CentralDirectoryInfo> getZipEntries ()

החזרות
List<CentralDirectoryInfo>