MergedZipEntryCollection
public
class
MergedZipEntryCollection
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.zip.MergedZipEntryCollection |
Mescle as entradas individuais de um arquivo zip grande em blocos para minimizar as tentativas de download.
Resumo
Constantes | |
---|---|
int |
HEADER_SIZE
|
int |
MAX_GAP
|
double |
MAX_GAP_PERCENTAGE
|
Construtores públicos | |
---|---|
MergedZipEntryCollection(
|
Métodos públicos | |
---|---|
static
|
createCollections(
|
long
|
getEndOffset()
|
long
|
getStartOffset()
|
|
getZipEntries()
|
Constantes
HEADER_SIZE
public static final int HEADER_SIZE
Valor da constante: 2078 (0x0000081e)
MAX_GAP
public static final int MAX_GAP
Valor da constante: 4096 (0x00001000)
MAX_GAP_PERCENTAGE
public static final double MAX_GAP_PERCENTAGE
Valor da constante: 0,15
Construtores públicos
MergedZipEntryCollection
public MergedZipEntryCollection (zipEntries)
Parâmetros | |
---|---|
zipEntries |
|
Métodos públicos
createCollections
public staticcreateCollections ( zipEntries)
Parâmetros | |
---|---|
zipEntries |
|
Retorna | |
---|---|
|
getEndOffset
public long getEndOffset ()
Retorna | |
---|---|
long |
getStartoffset
public long getStartOffset ()
Retorna | |
---|---|
long |
getZipEntries
publicgetZipEntries ()
Retorna | |
---|---|
|