MergedZipEntryCollection

public class MergedZipEntryCollection
extends Object

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


Merge individual zip entries in a large zip file into blocks to minimize the download attempts.

Summary

Constants

int HEADER_SIZE

int MAX_GAP

double MAX_GAP_PERCENTAGE

Public constructors

MergedZipEntryCollection( zipEntries)

Public methods

static createCollections( zipEntries)
long getEndOffset()
long getStartOffset()
getZipEntries()

Constants

HEADER_SIZE

public static final int HEADER_SIZE

Constant Value: 2078 (0x0000081e)

MAX_GAP

public static final int MAX_GAP

Constant Value: 4096 (0x00001000)

MAX_GAP_PERCENTAGE

public static final double MAX_GAP_PERCENTAGE

Constant Value: 0.15

Public constructors

MergedZipEntryCollection

public MergedZipEntryCollection ( zipEntries)

Parameters
zipEntries

Public methods

createCollections

public static  createCollections ( zipEntries)

Parameters
zipEntries

Returns

getEndOffset

public long getEndOffset ()

Returns
long

getStartOffset

public long getStartOffset ()

Returns
long

getZipEntries

public  getZipEntries ()

Returns