- accept(T) - Method in interface com.android.tools.build.apkzlib.utils.IOExceptionConsumer
-
Performs an operation on the given input.
- add(String, InputStream) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
- add(String, InputStream, boolean) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Adds a file to the archive.
- addAllRecursively(File) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Adds all files and directories recursively.
- addAllRecursively(File, Function<? super File, Boolean>) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Adds all files and directories recursively.
- added(StoredEntry, StoredEntry) - Method in class com.android.tools.build.apkzlib.zip.ZFileExtension
-
A new entry has been added to the zip, possibly replacing an entry in there.
- addZFileExtension(ZFileExtension) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Adds an extension to this zip file.
- alignment(String) - Method in interface com.android.tools.build.apkzlib.zip.AlignmentRule
-
Obtains the alignment this rule computes for a given path.
- AlignmentRule - Interface in com.android.tools.build.apkzlib.zip
-
An alignment rule defines how to a file should be aligned in a zip, based on its name.
- AlignmentRules - Class in com.android.tools.build.apkzlib.zip
-
- AlignmentSegment(int, int) - Constructor for class com.android.tools.build.apkzlib.zip.ExtraField.AlignmentSegment
-
Creates a new alignment segment.
- AlignmentSegment(int, byte[]) - Constructor for class com.android.tools.build.apkzlib.zip.ExtraField.AlignmentSegment
-
Creates a new alignment segment from extra data.
- API_SHA_256_ALL_ALGORITHMS - Static variable in enum com.android.tools.build.apkzlib.sign.DigestAlgorithm
-
- API_SHA_256_RSA_AND_ECDSA - Static variable in enum com.android.tools.build.apkzlib.sign.DigestAlgorithm
-
- apk(File, ZFileOptions) - Static method in class com.android.tools.build.apkzlib.zfile.ZFiles
-
Creates a new zip file configured as an apk, based on a given file.
- apk(File, ZFileOptions, PrivateKey, X509Certificate, boolean, boolean, String, String, int) - Static method in class com.android.tools.build.apkzlib.zfile.ZFiles
-
Creates a new zip file configured as an apk, based on a given file.
- ApkCreator - Interface in com.android.tools.build.apkzlib.zfile
-
Creates or updates APKs based on provided entries.
- ApkCreatorFactory - Interface in com.android.tools.build.apkzlib.zfile
-
- ApkCreatorFactory.CreationData - Class in com.android.tools.build.apkzlib.zfile
-
Data structure with the required information to initiate the creation of an APK.
- ApkZFileCreatorFactory - Class in com.android.tools.build.apkzlib.zfile
-
Creates instances of ApkZFileCreator.
- ApkZFileCreatorFactory(ZFileOptions) - Constructor for class com.android.tools.build.apkzlib.zfile.ApkZFileCreatorFactory
-
Creates a new factory.
- ApkZLibPair<T1,T2> - Class in com.android.tools.build.apkzlib.utils
-
Pair implementation to use with the apkzlib library.
- ApkZLibPair(T1, T2) - Constructor for class com.android.tools.build.apkzlib.utils.ApkZLibPair
-
Creates a new pair.
- apply(F) - Method in interface com.android.tools.build.apkzlib.utils.IOExceptionFunction
-
Applies the function to the given input.
- areTimestampsIgnored() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Obtains whether this ZFile is ignoring timestamps.
- asCharSource(Charset) - Method in class com.android.tools.build.apkzlib.zip.LazyDelegateByteSource
-
- asCharSource(Charset) - Method in class com.android.tools.build.apkzlib.zip.utils.CloseableDelegateByteSource
-
- asConsumer(IOExceptionConsumer<T>) - Static method in interface com.android.tools.build.apkzlib.utils.IOExceptionConsumer
-
Wraps a consumer that may throw an IO Exception throwing an UncheckedIOException.
- asFunction(IOExceptionFunction<F, T>) - Static method in interface com.android.tools.build.apkzlib.utils.IOExceptionFunction
-
Wraps a function that may throw an IO Exception throwing an UncheckedIOException.
- asRunnable(IOExceptionRunnable) - Static method in interface com.android.tools.build.apkzlib.utils.IOExceptionRunnable
-
Wraps a runnable that may throw an IO Exception throwing an UncheckedIOException.
- CachedFileContents<T> - Class in com.android.tools.build.apkzlib.utils
-
A cache for file contents.
- CachedFileContents(File) - Constructor for class com.android.tools.build.apkzlib.utils.CachedFileContents
-
Creates a new contents.
- CachedSupplier<T> - Class in com.android.tools.build.apkzlib.utils
-
Supplier that will cache a computed value and always supply the same value.
- CachedSupplier(Supplier<T>) - Constructor for class com.android.tools.build.apkzlib.utils.CachedSupplier
-
Creates a new supplier.
- canAsciiEncode(String) - Static method in class com.android.tools.build.apkzlib.zip.EncodeUtils
-
Checks if some text may be encoded using ASCII.
- CentralDirectoryHeader - Class in com.android.tools.build.apkzlib.zip
-
The Central Directory Header contains information about files stored in the zip.
- CentralDirectoryHeaderCompressInfo - Class in com.android.tools.build.apkzlib.zip
-
Information stored in the
CentralDirectoryHeader that is related to compression and may
need to be computed lazily.
- CentralDirectoryHeaderCompressInfo(CompressionMethod, long, long) - Constructor for class com.android.tools.build.apkzlib.zip.CentralDirectoryHeaderCompressInfo
-
Creates new compression information for the central directory header.
- CentralDirectoryHeaderCompressInfo(CentralDirectoryHeader, CompressionMethod, long) - Constructor for class com.android.tools.build.apkzlib.zip.CentralDirectoryHeaderCompressInfo
-
Creates new compression information for the central directory header.
- clone() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
- close() - Method in class com.android.tools.build.apkzlib.zip.ProcessedAndRawByteSources
-
- close() - Method in class com.android.tools.build.apkzlib.zip.utils.CloseableByteSource
-
- close() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Updates the file and closes it.
- CloseableByteSource - Class in com.android.tools.build.apkzlib.zip.utils
-
Byte source that can be closed.
- CloseableByteSource() - Constructor for class com.android.tools.build.apkzlib.zip.utils.CloseableByteSource
-
Creates a new byte source.
- CloseableDelegateByteSource - Class in com.android.tools.build.apkzlib.zip.utils
-
Closeable byte source that delegates to another byte source.
- CloseableDelegateByteSource(ByteSource, long) - Constructor for class com.android.tools.build.apkzlib.zip.utils.CloseableDelegateByteSource
-
Creates a new byte source.
- closed(T) - Method in class com.android.tools.build.apkzlib.utils.CachedFileContents
-
Should be called when the file's contents are set and the file closed.
- closed() - Method in class com.android.tools.build.apkzlib.zip.ZFileExtension
-
The zip file has been closed.
- com.android.tools.build.apkzlib.sign - package com.android.tools.build.apkzlib.sign
-
- com.android.tools.build.apkzlib.utils - package com.android.tools.build.apkzlib.utils
-
Utilities to work with apkzlib.
- com.android.tools.build.apkzlib.zfile - package com.android.tools.build.apkzlib.zfile
-
The zfile package contains
- com.android.tools.build.apkzlib.zip - package com.android.tools.build.apkzlib.zip
-
- com.android.tools.build.apkzlib.zip.compress - package com.android.tools.build.apkzlib.zip.compress
-
Compressors to use with the zip package.
- com.android.tools.build.apkzlib.zip.utils - package com.android.tools.build.apkzlib.zip.utils
-
- compose(AlignmentRule...) - Static method in class com.android.tools.build.apkzlib.zip.AlignmentRules
-
A rule that applies other rules in order.
- compress(CloseableByteSource) - Method in class com.android.tools.build.apkzlib.zip.compress.ExecutorCompressor
-
- compress(CloseableByteSource) - Method in interface com.android.tools.build.apkzlib.zip.Compressor
-
Compresses an entry source.
- CompressionMethod - Enum in com.android.tools.build.apkzlib.zip
-
Enumeration with all known compression methods.
- CompressionResult - Class in com.android.tools.build.apkzlib.zip
-
Result of compressing data.
- CompressionResult(CloseableByteSource, CompressionMethod, long) - Constructor for class com.android.tools.build.apkzlib.zip.CompressionResult
-
Creates a new compression result.
- Compressor - Interface in com.android.tools.build.apkzlib.zip
-
A compressor is capable of, well, compressing data.
- constant(int) - Static method in class com.android.tools.build.apkzlib.zip.AlignmentRules
-
A rule that defines a constant alignment for all files.
- constantForSuffix(String, int) - Static method in class com.android.tools.build.apkzlib.zip.AlignmentRules
-
A rule that defines constant alignment for all files with a certain suffix, placing no
restrictions on other files.
- contentEquals(ByteSource) - Method in class com.android.tools.build.apkzlib.zip.LazyDelegateByteSource
-
- contentEquals(ByteSource) - Method in class com.android.tools.build.apkzlib.zip.utils.CloseableDelegateByteSource
-
- copyTo(OutputStream) - Method in class com.android.tools.build.apkzlib.zip.LazyDelegateByteSource
-
- copyTo(ByteSink) - Method in class com.android.tools.build.apkzlib.zip.LazyDelegateByteSource
-
- copyTo(OutputStream) - Method in class com.android.tools.build.apkzlib.zip.utils.CloseableDelegateByteSource
-
- copyTo(ByteSink) - Method in class com.android.tools.build.apkzlib.zip.utils.CloseableDelegateByteSource
-
- CREATED_BY - Static variable in interface com.android.tools.build.apkzlib.zfile.ManifestAttributes
-
Manifest attribute with the created by information.
- CreationData(File, PrivateKey, X509Certificate, boolean, boolean, String, String, int, NativeLibrariesPackagingMode, Predicate<String>) - Constructor for class com.android.tools.build.apkzlib.zfile.ApkCreatorFactory.CreationData
-
- CURRENT_MANIFEST_VERSION - Static variable in interface com.android.tools.build.apkzlib.zfile.ManifestAttributes
-
Manifest attribute value with the manifest version.
- DataDescriptorType - Enum in com.android.tools.build.apkzlib.zip
-
Type of data descriptor that an entry has.
- decode(ByteBuffer, int, GPFlags) - Static method in class com.android.tools.build.apkzlib.zip.EncodeUtils
-
Decodes a file name.
- decode(byte[], GPFlags) - Static method in class com.android.tools.build.apkzlib.zip.EncodeUtils
-
Decodes a file name.
- DeflateExecutionCompressor - Class in com.android.tools.build.apkzlib.zip.compress
-
Compressor that uses deflate with an executor.
- DeflateExecutionCompressor(Executor, ByteTracker, int) - Constructor for class com.android.tools.build.apkzlib.zip.compress.DeflateExecutionCompressor
-
Creates a new compressor.
- delete() - Method in class com.android.tools.build.apkzlib.zip.StoredEntry
-
Deletes this entry from the zip file.
- deleteFile(String) - Method in interface com.android.tools.build.apkzlib.zfile.ApkCreator
-
Deletes a file in a given path.
- DigestAlgorithm - Enum in com.android.tools.build.apkzlib.sign
-
Message digest algorithms.
- directFullyRead(long, byte[]) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Reads exactly data.length bytes of data, failing if it was not possible to read all
the requested data.
- directFullyRead(long, ByteBuffer) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Reads exactly dest.remaining() bytes of data, failing if it was not possible to read
all the requested data.
- directOpen(long, long) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Opens a portion of the zip for reading.
- directRead(long, byte[], int, int) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Directly reads data from the zip file.
- directRead(long, ByteBuffer) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Directly reads data from the zip file.
- directRead(long, byte[]) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Same as directRead(offset, data, 0, data.length).
- directSize() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Returns the current size (in bytes) of the underlying file.
- directWrite(long, byte[], int, int) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Directly writes data in the zip file.
- directWrite(long, byte[]) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Same as directWrite(offset, data, 0, data.length).
- get() - Method in class com.android.tools.build.apkzlib.utils.CachedSupplier
-
Obtains the value.
- get(String) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Obtains an entry at a given path in the zip.
- getAlignmentRule() - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Obtains the alignment rule.
- getApkPath() - Method in class com.android.tools.build.apkzlib.zfile.ApkCreatorFactory.CreationData
-
Obtains the path where the APK should be located.
- getAutoSortFiles() - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Obtains whether files should be automatically sorted before updating the zip file.
- getBuiltBy() - Method in class com.android.tools.build.apkzlib.zfile.ApkCreatorFactory.CreationData
-
Obtains the "built-by" text for the APK.
- getBytesUsed() - Method in class com.android.tools.build.apkzlib.zip.utils.ByteTracker
-
Obtains the number of bytes currently used.
- getCache() - Method in class com.android.tools.build.apkzlib.utils.CachedFileContents
-
- getCause() - Method in exception com.android.tools.build.apkzlib.utils.IOExceptionWrapper
-
- getCentralDirectoryBytes() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Obtains the byte array representation of the central directory.
- getCentralDirectoryHeader() - Method in class com.android.tools.build.apkzlib.zip.StoredEntry
-
Obtains the CDH associated with this entry.
- getCentralDirectoryOffset() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Obtains the offset at which the central directory exists, or at which it will be written
if the zip file were to be flushed immediately.
- getCentralDirectorySize() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Obtains the size of the central directory, if the central directory is written in the zip
file.
- getCertificate() - Method in class com.android.tools.build.apkzlib.zfile.ApkCreatorFactory.CreationData
-
Obtains the certificate used to sign the APK.
- getComment() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the entry's comment.
- getCompressedSize() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeaderCompressInfo
-
Obtains the compression data size.
- getCompressionInfo() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the future with the compression information.
- getCompressionInfoWithWait() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Equivalent to getCompressionInfo().get() but masking the possible exceptions and
guaranteeing non-null return.
- getCompressionMethod() - Method in class com.android.tools.build.apkzlib.zip.CompressionResult
-
Obtains the compression method.
- getCompressor() - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Obtains the compressor to use.
- getCoverEmptySpaceUsingExtraField() - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Obtains whether the extra field should be used to cover empty spaces.
- getCrc32() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the CRC32 of the data.
- getCreatedBy() - Method in class com.android.tools.build.apkzlib.zfile.ApkCreatorFactory.CreationData
-
Obtains the "created-by" text for the APK.
- getDataDescriptorType() - Method in class com.android.tools.build.apkzlib.zip.StoredEntry
-
Obtains the type of data descriptor used in the entry.
- getDelegate() - Method in class com.android.tools.build.apkzlib.zip.LazyDelegateByteSource
-
Obtains the delegate future.
- getEncodedFileName() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the encoded file name.
- getEocdBytes() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Obtains the byte array representation of the EOCD.
- getEocdComment() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Obtains the comment in the EOCD.
- getEocdOffset() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Obtains the offset of the EOCD record, if the EOCD has been written to the file.
- getEocdSize() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Obtains the size of the EOCD record, if the EOCD has been written to the file.
- getExternalAttributes() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the entry's external attributes.
- getExtraDirectoryOffset() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Obtains the extra offset for the central directory.
- getExtraField() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the data in the extra field.
- getFile() - Method in class com.android.tools.build.apkzlib.utils.CachedFileContents
-
Obtains the file used for caching.
- getFile() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Obtains the filesystem path to the zip file.
- getGpBit() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the general-purpose bit flag.
- getHeaderId() - Method in class com.android.tools.build.apkzlib.zip.ExtraField.AlignmentSegment
-
- getHeaderId() - Method in class com.android.tools.build.apkzlib.zip.ExtraField.RawDataSegment
-
- getHeaderId() - Method in interface com.android.tools.build.apkzlib.zip.ExtraField.Segment
-
Obtains the segment's header ID.
- getInternalAttributes() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the entry's internal attributes.
- getLastModDate() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the last modification date of the entry.
- getLastModTime() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the last modification time of the entry.
- getLocalExtra() - Method in class com.android.tools.build.apkzlib.zip.StoredEntry
-
Obtains the contents of the local extra field.
- getLocalHeaderSize() - Method in class com.android.tools.build.apkzlib.zip.StoredEntry
-
Obtains the size of the local header of this entry.
- getLogs() - Method in interface com.android.tools.build.apkzlib.zip.VerifyLog
-
Obtains all save logged messages.
- getMadeBy() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the code of the program that made the zip.
- getMaxBytesUsed() - Method in class com.android.tools.build.apkzlib.zip.utils.ByteTracker
-
Obtains the maximum number of bytes ever used by this tracker.
- getMethod() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeaderCompressInfo
-
Obtains the compression method.
- getMinSdkVersion() - Method in class com.android.tools.build.apkzlib.zfile.ApkCreatorFactory.CreationData
-
Obtains the minimum SDK version to run the APK.
- getName() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the name of the file.
- getNativeLibrariesPackagingMode() - Method in class com.android.tools.build.apkzlib.zfile.ApkCreatorFactory.CreationData
-
Returns the packaging policy that the
ApkCreator should use for native libraries.
- getNoCompressPredicate() - Method in class com.android.tools.build.apkzlib.zfile.ApkCreatorFactory.CreationData
-
Returns the predicate to decide which file paths should be uncompressed.
- getNoTimestamps() - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Obtains whether timestamps should be zeroed.
- getOffset() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the offset in the zip file where this entry's data is.
- getPrivateKey() - Method in class com.android.tools.build.apkzlib.zfile.ApkCreatorFactory.CreationData
-
Obtains the private key used to sign the APK.
- getProcessedByteSource() - Method in class com.android.tools.build.apkzlib.zip.ProcessedAndRawByteSources
-
Obtains a byte source that read the processed contents of the entry.
- getRawByteSource() - Method in class com.android.tools.build.apkzlib.zip.ProcessedAndRawByteSources
-
Obtains a byte source that reads the raw contents of an entry.
- getSegments() - Method in class com.android.tools.build.apkzlib.zip.ExtraField
-
Obtains all segments in the extra field.
- getSingleSegment(int) - Method in class com.android.tools.build.apkzlib.zip.ExtraField
-
Obtains the only segment with the provided header ID.
- getSize() - Method in class com.android.tools.build.apkzlib.zip.CompressionResult
-
Obtains the size of the compression result.
- getSource() - Method in class com.android.tools.build.apkzlib.zip.CompressionResult
-
Obtains the compressed data.
- getTracker() - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Obtains the ZFile's byte tracker.
- getType() - Method in class com.android.tools.build.apkzlib.zip.StoredEntry
-
Obtains the type of entry.
- getUncompressedSize() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Obtains the size of the uncompressed file.
- getVerifyLog() - Method in class com.android.tools.build.apkzlib.zip.StoredEntry
-
Obtains the verify log for the entry.
- getVerifyLogFactory() - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Obtains the verification log factory.
- getVersionExtract() - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeaderCompressInfo
-
Obtains the minimum version for extract.
- SEPARATOR - Static variable in class com.android.tools.build.apkzlib.zip.ZFile
-
The file separator in paths in the zip file.
- setAlignmentRule(AlignmentRule) - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Sets the alignment rule.
- setAutoSortFiles(boolean) - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Sets whether files should be automatically sorted before updating the zip file.
- setCompressor(Compressor) - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Sets the compressor to use.
- setCoverEmptySpaceUsingExtraField(boolean) - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Sets whether the extra field should be used to cover empty spaces.
- setEocdComment(byte[]) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Sets the comment in the EOCD.
- setExtraDirectoryOffset(long) - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Sets an extra offset for the central directory.
- setExtraField(ExtraField) - Method in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeader
-
Sets the data in the extra field.
- setLocalExtra(ExtraField) - Method in class com.android.tools.build.apkzlib.zip.StoredEntry
-
Sets the contents of the local extra field.
- setNoTimestamps(boolean) - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Sets whether timestamps should be zeroed.
- setVerifyLogFactory(Supplier<VerifyLog>) - Method in class com.android.tools.build.apkzlib.zip.ZFileOptions
-
Sets the verification log factory.
- SignatureAlgorithm - Enum in com.android.tools.build.apkzlib.sign
-
Signature algorithm.
- signatureAlgorithmName(DigestAlgorithm) - Method in enum com.android.tools.build.apkzlib.sign.SignatureAlgorithm
-
Obtains the name of the signature algorithm when used with a digest algorithm.
- signatureAlgorithmSuffix - Variable in enum com.android.tools.build.apkzlib.sign.SignatureAlgorithm
-
Suffix appended to digest algorithm to obtain signature algorithm.
- SigningExtension - Class in com.android.tools.build.apkzlib.sign
-
ZFile extension which signs the APK.
- SigningExtension(int, X509Certificate, PrivateKey, boolean, boolean) - Constructor for class com.android.tools.build.apkzlib.sign.SigningExtension
-
- size - Variable in enum com.android.tools.build.apkzlib.zip.DataDescriptorType
-
The number of bytes the data descriptor spans.
- size() - Method in class com.android.tools.build.apkzlib.zip.ExtraField.AlignmentSegment
-
- size() - Method in class com.android.tools.build.apkzlib.zip.ExtraField.RawDataSegment
-
- size() - Method in interface com.android.tools.build.apkzlib.zip.ExtraField.Segment
-
Obtains the size of the segment including the header ID.
- size() - Method in class com.android.tools.build.apkzlib.zip.ExtraField
-
Obtains the size of the extra field.
- size() - Method in class com.android.tools.build.apkzlib.zip.LazyDelegateByteSource
-
- size() - Method in class com.android.tools.build.apkzlib.zip.utils.CloseableDelegateByteSource
-
- sizeNoException() - Method in class com.android.tools.build.apkzlib.zip.utils.CloseableDelegateByteSource
-
Obtains the size of this byte source.
- slice(long, long) - Method in class com.android.tools.build.apkzlib.zip.LazyDelegateByteSource
-
- slice(long, long) - Method in class com.android.tools.build.apkzlib.zip.utils.CloseableDelegateByteSource
-
- sortZipContents() - Method in class com.android.tools.build.apkzlib.zip.ZFile
-
Sorts all files in the zip.
- StoredEntry - Class in com.android.tools.build.apkzlib.zip
-
A stored entry represents a file in the zip.
- StoredEntryType - Enum in com.android.tools.build.apkzlib.zip
-
Type of stored entry.
- v1 - Variable in class com.android.tools.build.apkzlib.utils.ApkZLibPair
-
First value.
- v2 - Variable in class com.android.tools.build.apkzlib.utils.ApkZLibPair
-
Second value.
- valueOf(String) - Static method in enum com.android.tools.build.apkzlib.sign.DigestAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.tools.build.apkzlib.sign.SignatureAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.tools.build.apkzlib.zfile.NativeLibrariesPackagingMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.tools.build.apkzlib.zip.CompressionMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.tools.build.apkzlib.zip.DataDescriptorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.tools.build.apkzlib.zip.StoredEntryType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.android.tools.build.apkzlib.sign.DigestAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.tools.build.apkzlib.sign.SignatureAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.tools.build.apkzlib.zfile.NativeLibrariesPackagingMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.tools.build.apkzlib.zip.CompressionMethod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.tools.build.apkzlib.zip.DataDescriptorType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.tools.build.apkzlib.zip.StoredEntryType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verify(boolean, String, Object...) - Method in interface com.android.tools.build.apkzlib.zip.VerifyLog
-
Performs verification of a non-critical condition, logging a message if the condition is
not verified.
- VerifyLog - Interface in com.android.tools.build.apkzlib.zip
-
The verify log contains verification messages.
- VERSION_WITH_DIRECTORIES_AND_DEFLATE - Static variable in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeaderCompressInfo
-
Version of zip file that only supports directories and deflated files.
- VERSION_WITH_STORE_FILES_ONLY - Static variable in class com.android.tools.build.apkzlib.zip.CentralDirectoryHeaderCompressInfo
-
Version of zip file that only supports stored files.