合併ZipEntryCollection
public class MergedZipEntryCollection
extends Object
java.lang.Object |
↳ | com.android.tradefed.util.zip.MergedZipEntryCollection |
將大型 zip 檔案中的各個 zip 條目合併為區塊,以最大程度地減少下載嘗試。
概括
常數
public static final int HEADER_SIZE
常數值:2078 (0x0000081e)
最大間隙
public static final int MAX_GAP
常數值:4096 (0x00001000)
最大間隙百分比
public static final double MAX_GAP_PERCENTAGE
常數值:0.15
公共構造函數
合併ZipEntryCollection
public MergedZipEntryCollection ( zipEntries)
公共方法
建立集合
public static createCollections ( zipEntries)
取得結束偏移量
public long getEndOffset ()
取得開始偏移量
public long getStartOffset ()
取得ZipEntries
public getZipEntries ()