2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
MergedZipEntryCollection
public
class
MergedZipEntryCollection
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.util.zip.MergedZipEntryCollection
|
대용량 ZIP 파일의 개별 ZIP 항목을 블록으로 병합하여 다운로드 시도를 최소화합니다.
요약
상수
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
공개 생성자
MergedZipEntryCollection
public MergedZipEntryCollection ( zipEntries)
공개 메서드
createCollections
public static createCollections ( zipEntries)
getEndOffset
public long getEndOffset ()
getStartOffset
public long getStartOffset ()
getZipEntries
public getZipEntries ()
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# MergedZipEntryCollection\n========================\n\n\n`\npublic\n\n\nclass\nMergedZipEntryCollection\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|--------------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.util.zip.MergedZipEntryCollection |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nMerge individual zip entries in a large zip file into blocks to minimize the download attempts.\n\nSummary\n-------\n\n| ### Constants ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [HEADER_SIZE](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/MergedZipEntryCollection.html#HEADER_SIZE) |\n| `int` | [MAX_GAP](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/MergedZipEntryCollection.html#MAX_GAP) |\n| `double` | [MAX_GAP_PERCENTAGE](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/MergedZipEntryCollection.html#MAX_GAP_PERCENTAGE) |\n\n| ### Public constructors ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[MergedZipEntryCollection](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/MergedZipEntryCollection.html#MergedZipEntryCollection(\u003cany\u003e))`(` zipEntries) |\n\n| ### Public methods ||\n|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` static ` | ` `[createCollections](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/MergedZipEntryCollection.html#createCollections(\u003cany\u003e))`(` zipEntries) |\n| ` long` | ` `[getEndOffset](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/MergedZipEntryCollection.html#getEndOffset())`() ` |\n| ` long` | ` `[getStartOffset](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/MergedZipEntryCollection.html#getStartOffset())`() ` |\n| ` ` | ` `[getZipEntries](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/MergedZipEntryCollection.html#getZipEntries())`() ` |\n\nConstants\n---------\n\n### HEADER_SIZE\n\n```\npublic static final int HEADER_SIZE\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2078\n(0x0000081e)\n\n\n### MAX_GAP\n\n```\npublic static final int MAX_GAP\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4096\n(0x00001000)\n\n\n### MAX_GAP_PERCENTAGE\n\n```\npublic static final double MAX_GAP_PERCENTAGE\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0.15\n\n\nPublic constructors\n-------------------\n\n### MergedZipEntryCollection\n\n```\npublic MergedZipEntryCollection ( zipEntries)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------------|--------|\n| `zipEntries` | \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### createCollections\n\n```\npublic static createCollections ( zipEntries)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------------|--------|\n| `zipEntries` | \u003cbr /\u003e |\n\n| Returns ||\n|---|--------|\n| | \u003cbr /\u003e |\n\n### getEndOffset\n\n```\npublic long getEndOffset ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |\n\n### getStartOffset\n\n```\npublic long getStartOffset ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |\n\n### getZipEntries\n\n```\npublic getZipEntries ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|---|--------|\n| | \u003cbr /\u003e |"]]