27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
EndCentralDirectoryInfo
public
final
class
EndCentralDirectoryInfo
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.util.zip.EndCentralDirectoryInfo
|
EndCentralDirectoryInfo, bir ZIP dosyasının genel bilgilerini içeren bir sınıftır. ZIP dosyasının sonunda yer alır.
Genel zip dosyası biçimi: [Yerel dosya başlığı + Sıkıştırılmış veriler [+ Genişletilmiş yerel başlık]?]*
[Merkezi dizin]* [Merkezi dizin kaydının sonu]
Daha fazla bilgi için şu bağlantıya bakın: https://tr.wikipedia.org/wiki/Zip_(dosya_biçimi)
Özet
Herkese açık kurucular |
EndCentralDirectoryInfo(File zipFile)
Bir ZIP dosyasının son merkezi dizin bilgilerini toplayan kurucu.
|
EndCentralDirectoryInfo(File zipFile, boolean useZip64)
Bir ZIP dosyasının son merkezi dizin bilgilerini toplayan kurucu.
|
Sabitler
MAX_LOOKBACK
public static final int MAX_LOOKBACK
Sabit Değer:
65536
(0x00010000)
Herkese açık kurucular
EndCentralDirectoryInfo
public EndCentralDirectoryInfo (File zipFile)
Bir ZIP dosyasının son merkezi dizin bilgilerini toplayan kurucu.
Parametreler |
zipFile |
File : ERROR(/File) , son merkezi dizin bilgilerini içerir. Muhtemelen zip dosyasının son kısmıdır. |
EndCentralDirectoryInfo
public EndCentralDirectoryInfo (File zipFile,
boolean useZip64)
Bir ZIP dosyasının son merkezi dizin bilgilerini toplayan kurucu.
Parametreler |
zipFile |
File : ERROR(/File) , son merkezi dizin bilgilerini içerir. Muhtemelen zip dosyasının son kısmıdır. |
useZip64 |
boolean : Kısmi indirme işleminde zip64 biçimini desteklemek için kullanılan bir boole değeri. |
Herkese açık yöntemler
getCentralDirOffset
public long getCentralDirOffset ()
getCentralDirSize
public long getCentralDirSize ()
getEntryNumber
public long getEntryNumber ()
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# EndCentralDirectoryInfo\n=======================\n\n\n`\npublic\n\nfinal\n\nclass\nEndCentralDirectoryInfo\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.EndCentralDirectoryInfo |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nEndCentralDirectoryInfo is a class containing the overall information of a zip file. It's at the\nend of the zip file.\n\nOverall zipfile format: \\[Local file header + Compressed data \\[+ Extended local header\\]?\\]\\*\n\\[Central directory\\]\\* \\[End of central directory record\\]\n\nRefer to following link for more details: https://en.wikipedia.org/wiki/Zip_(file_format)\n\nSummary\n-------\n\n| ### Constants ||\n|-------|---------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [MAX_LOOKBACK](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/EndCentralDirectoryInfo.html#MAX_LOOKBACK) |\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[EndCentralDirectoryInfo](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/EndCentralDirectoryInfo.html#EndCentralDirectoryInfo(File))`(File zipFile) ` Constructor to collect end central directory information of a zip file. |\n| ` `[EndCentralDirectoryInfo](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/EndCentralDirectoryInfo.html#EndCentralDirectoryInfo(File,%20boolean))`(File zipFile, boolean useZip64) ` Constructor to collect end central directory information of a zip file. |\n\n| ### Public methods ||\n|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` long` | ` `[getCentralDirOffset](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/EndCentralDirectoryInfo.html#getCentralDirOffset())`() ` |\n| ` long` | ` `[getCentralDirSize](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/EndCentralDirectoryInfo.html#getCentralDirSize())`() ` |\n| ` long` | ` `[getEntryNumber](../../../../../../../reference/tradefed/com/android/tradefed/util/zip/EndCentralDirectoryInfo.html#getEntryNumber())`() ` |\n\nConstants\n---------\n\n### MAX_LOOKBACK\n\n```\npublic static final int MAX_LOOKBACK\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n65536\n(0x00010000)\n\n\nPublic constructors\n-------------------\n\n### EndCentralDirectoryInfo\n\n```\npublic EndCentralDirectoryInfo (File zipFile)\n```\n\nConstructor to collect end central directory information of a zip file.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `zipFile` | `File`: a [ERROR(/File)](../../../../../../../) contains the end central directory information. It's likely the ending part of the zip file. \u003cbr /\u003e |\n\n| Throws ||\n|---|-------------|\n| | IOException |\n\n### EndCentralDirectoryInfo\n\n```\npublic EndCentralDirectoryInfo (File zipFile, \n boolean useZip64)\n```\n\nConstructor to collect end central directory information of a zip file.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `zipFile` | `File`: a [ERROR(/File)](../../../../../../../) contains the end central directory information. It's likely the ending part of the zip file. \u003cbr /\u003e |\n| `useZip64` | `boolean`: a boolean to support zip64 format in partial download. \u003cbr /\u003e |\n\n| Throws ||\n|---|-------------|\n| | IOException |\n\nPublic methods\n--------------\n\n### getCentralDirOffset\n\n```\npublic long getCentralDirOffset ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |\n\n### getCentralDirSize\n\n```\npublic long getCentralDirSize ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |\n\n### getEntryNumber\n\n```\npublic long getEntryNumber ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |"]]