Class EocdGroup
- java.lang.Object
-
- com.android.tools.build.apkzlib.zip.EocdGroup
-
public class EocdGroup extends java.lang.ObjectThe collection of all data stored in all End of Central Directory records in the zip file. TheEOCDGroupis meant to collect and manage all the information about theEocd,Zip64EocdLocator, and theZip64Eocdin one place.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Zip64ExtensibleDataSectorgetExtensibleData()Returns the Zip64 Extensible Data Sector, ornullif the EOCD record is not in the Zip64 format.longgetRecordSize()Returns the total size of the EOCD record.
-
-
-
Method Detail
-
getRecordSize
public long getRecordSize()
Returns the total size of the EOCD record. This will be the same as the standard EOCD size for a Zip32 file or in a Zip64 file will be the start of the Zip64 record to the end of the standard EOCD. the EOCD must be in memory for this method to be invoked.- Returns:
- The total size of the EOCD record.
-
getExtensibleData
@Nullable public Zip64ExtensibleDataSector getExtensibleData()
Returns the Zip64 Extensible Data Sector, ornullif the EOCD record is not in the Zip64 format. The EOCD must be in memory for this method to be invoked.- Returns:
- The Extensible data sector, or
nullif none exists.
-
-