Uses of Class
org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Packages that use ZipArchiveEntry
Package
Description
Provides stream classes for reading and writing archives using
the ZIP format with some extensions for the special case of JAR
archives.
Provides stream classes for reading and writing archives using
the ZIP format.
EXPERIMENTAL support for changesets that are applied to
archives.
-
Uses of ZipArchiveEntry in org.apache.commons.compress.archivers.jar
Subclasses of ZipArchiveEntry in org.apache.commons.compress.archivers.jarConstructors in org.apache.commons.compress.archivers.jar with parameters of type ZipArchiveEntry -
Uses of ZipArchiveEntry in org.apache.commons.compress.archivers.zip
Subclasses of ZipArchiveEntry in org.apache.commons.compress.archivers.zipModifier and TypeClassDescriptionprivate static classExtends ZipArchiveEntry to store the offset within the archive.Fields in org.apache.commons.compress.archivers.zip declared as ZipArchiveEntryModifier and TypeFieldDescription(package private) static final ZipArchiveEntry[]ZipArchiveEntry.EMPTY_ZIP_ARCHIVE_ENTRY_ARRAYprivate final ZipArchiveEntryUnsupportedZipFeatureException.entryprivate final ZipArchiveEntryZipArchiveInputStream.CurrentEntry.entryCurrent ZIP entry.private final ZipArchiveEntryZipArchiveOutputStream.CurrentEntry.entryCurrent ZIP entry.private final ZipArchiveEntryZipArchiveEntryRequest.zipArchiveEntryFields in org.apache.commons.compress.archivers.zip with type parameters of type ZipArchiveEntryModifier and TypeFieldDescriptionprivate final List<ZipArchiveEntry>ZipArchiveOutputStream.entriesList of ZipArchiveEntries written so far.private final List<ZipArchiveEntry>ZipFile.entriesList of entries in the order they appear inside the central directory.private final Map<ZipArchiveEntry,ZipArchiveOutputStream.EntryMetaData> ZipArchiveOutputStream.metaDataHolds some book-keeping data for each entry.private final Map<String,LinkedList<ZipArchiveEntry>> ZipFile.nameMapMaps String to list of ZipArchiveEntrys, name -> actual entries.private final Comparator<ZipArchiveEntry>ZipFile.offsetComparatorCompares two ZipArchiveEntries based on their offset within the archive.Methods in org.apache.commons.compress.archivers.zip that return ZipArchiveEntryModifier and TypeMethodDescriptionUnsupportedZipFeatureException.getEntry()The entry using the unsupported feature.Returns a named entry - ornullif no entry by that name exists.ZipArchiveInputStream.getNextZipEntry()(package private) ZipArchiveEntryZipArchiveEntryRequest.getZipArchiveEntry()Gets the underlying entry.ScatterZipOutputStream.CompressedEntry.transferToArchiveEntry()Update the originalZipArchiveEntrywith sizes/crc Do not use this methods from threads that did not create the instance itself !Methods in org.apache.commons.compress.archivers.zip that return types with arguments of type ZipArchiveEntryModifier and TypeMethodDescriptionZipFile.getEntries()Returns all entries.ZipFile.getEntries(String name) Returns all named entries in the same order they appear within the archive's central directory.ZipFile.getEntriesInPhysicalOrder()Returns all entries in physical order.ZipFile.getEntriesInPhysicalOrder(String name) Returns all named entries in the same order their contents appear within the archive.private Map<ZipArchiveEntry,ZipFile.NameAndComment> ZipFile.populateFromCentralDirectory()Reads the central directory of the given archive and populates the internal tables with ZipArchiveEntry instances.Methods in org.apache.commons.compress.archivers.zip with parameters of type ZipArchiveEntryModifier and TypeMethodDescriptionvoidParallelScatterZipCreator.addArchiveEntry(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier source) Adds an archive entry to this archive.voidZipArchiveOutputStream.addRawArchiveEntry(ZipArchiveEntry entry, InputStream rawStream) Adds an archive entry with a raw input stream.private voidZipArchiveOutputStream.addUnicodeExtraFields(ZipArchiveEntry ze, boolean encodable, ByteBuffer name) Adds UnicodeExtra fields for name and file comment if mode is ALWAYS or the data cannot be encoded using the configured encoding.(package private) static booleanZipUtil.canHandleEntryData(ZipArchiveEntry entry) Whether this library is able to read or write the given entry.booleanZipFile.canReadEntryData(ZipArchiveEntry ze) Whether this class is able to read the given entry.(package private) static voidZipUtil.checkRequestedFeatures(ZipArchiveEntry ze) Checks whether the entry requires features not (yet) supported by the library and throws an exception if it does.final Callable<ScatterZipOutputStream>ParallelScatterZipCreator.createCallable(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier source) Create a callable that will compress the given archive entry.private byte[]ZipArchiveOutputStream.createCentralFileHeader(ZipArchiveEntry ze) private byte[]ZipArchiveOutputStream.createCentralFileHeader(ZipArchiveEntry ze, ByteBuffer name, ZipArchiveOutputStream.EntryMetaData entryMetaData, boolean needsZip64Extra) Writes the central file header entry.private byte[]ZipArchiveOutputStream.createLocalFileHeader(ZipArchiveEntry ze, ByteBuffer name, boolean encodable, boolean phased, long archiveOffset) static ZipArchiveEntryRequestZipArchiveEntryRequest.createZipArchiveEntryRequest(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier payloadSupplier) Create a ZipArchiveEntryRequestprivate longZipFile.getDataOffset(ZipArchiveEntry ze) private Zip64ModeZipArchiveOutputStream.getEffectiveZip64Mode(ZipArchiveEntry ze) If the mode is AsNeeded and the entry is a compressed entry of unknown size that gets written to a non-seekable stream then change the default to Never.private ZipEncodingZipArchiveOutputStream.getEntryEncoding(ZipArchiveEntry ze) (package private) static StringZip64RequiredException.getEntryTooBigMessage(ZipArchiveEntry ze) Helper to format "entry too big" messages.ZipFile.getInputStream(ZipArchiveEntry ze) Returns an InputStream for reading the contents of the given entry.private ByteBufferZipArchiveOutputStream.getName(ZipArchiveEntry ze) ZipFile.getRawInputStream(ZipArchiveEntry ze) Expose the raw stream of the archive entry (compressed form).ZipFile.getUnixSymlink(ZipArchiveEntry entry) Convenience method to return the entry's content as a String if isUnixSymlink() returns true for it, otherwise returns null.ZipArchiveOutputStream.getZip64Extra(ZipArchiveEntry ze) Get the existing ZIP64 extended information extra field or create a new one and add it to the entry.private voidZipArchiveOutputStream.handleZip64Extra(ZipArchiveEntry ze, long lfhOffset, boolean needsZip64Extra) If the entry needs Zip64 extra information inside the central directory then configure its data.private booleanZipArchiveOutputStream.hasZip64Extra(ZipArchiveEntry ze) Is there a ZIP64 extended information extra field for the entry?private booleanZipArchiveOutputStream.isTooLargeForZip32(ZipArchiveEntry zipArchiveEntry) private booleanZipArchiveOutputStream.isZip64Required(ZipArchiveEntry entry1, Zip64Mode requestedMode) private voidZipFile.sanityCheckLFHOffset(ZipArchiveEntry ze) private int[]ZipFile.setDataOffset(ZipArchiveEntry ze) private voidZipArchiveOutputStream.setDefaults(ZipArchiveEntry entry) Provides default values for compression method and last modification time.(package private) static voidZipUtil.setNameAndCommentFromExtraFields(ZipArchiveEntry ze, byte[] originalNameBytes, byte[] commentBytes) If the entry has Unicode*ExtraFields and the CRCs of the names/comments match those of the extra fields, transfer the known Unicode values from the extra field.private voidZipFile.setSizesAndOffsetFromZip64Extra(ZipArchiveEntry ze) If the entry holds a Zip64 extended information extra field, read sizes from there if the entry's sizes are set to 0xFFFFFFFFF, do the same for the offset of the local file header.private booleanZipArchiveOutputStream.shouldAddZip64Extra(ZipArchiveEntry entry, Zip64Mode mode) Whether to add a Zip64 extended information extra field to the local file header.private booleanZipArchiveInputStream.supportsCompressedSizeFor(ZipArchiveEntry entry) Whether the compressed size for the entry is either known or not required by the compression method being used.private booleanZipArchiveInputStream.supportsDataDescriptorFor(ZipArchiveEntry entry) Whether this entry requires a data descriptor this library can work with.private static booleanZipUtil.supportsEncryptionOf(ZipArchiveEntry entry) Whether this library supports the encryption used by the given entry.private static booleanZipUtil.supportsMethodOf(ZipArchiveEntry entry) Whether this library supports the compression method used by the given entry.booleanZipArchiveEntryPredicate.test(ZipArchiveEntry zipArchiveEntry) Indicate if the given entry should be included in the operationprotected voidZipArchiveOutputStream.writeCentralFileHeader(ZipArchiveEntry ze) Writes the central file header entry.protected voidZipArchiveOutputStream.writeDataDescriptor(ZipArchiveEntry ze) Writes the data descriptor entry.protected voidZipArchiveOutputStream.writeLocalFileHeader(ZipArchiveEntry ze) Writes the local file header entryprivate voidZipArchiveOutputStream.writeLocalFileHeader(ZipArchiveEntry ze, boolean phased) Method parameters in org.apache.commons.compress.archivers.zip with type arguments of type ZipArchiveEntryModifier and TypeMethodDescriptionprivate voidZipFile.readCentralDirectoryEntry(Map<ZipArchiveEntry, ZipFile.NameAndComment> noUTF8Flag) Reads an individual entry of the central directory, creats an ZipArchiveEntry from it and adds it to the global maps.private voidZipFile.resolveLocalFileHeaderData(Map<ZipArchiveEntry, ZipFile.NameAndComment> entriesWithoutUTF8Flag) Walks through all recorded entries and adds the data available from the local file header.Constructors in org.apache.commons.compress.archivers.zip with parameters of type ZipArchiveEntryModifierConstructorDescriptionprivateCurrentEntry(ZipArchiveEntry entry) UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason, ZipArchiveEntry entry) Creates an exception.UnsupportedZipFeatureException(ZipMethod method, ZipArchiveEntry entry) Creates an exception for archives that use an unsupported compression algorithm.ZipArchiveEntry(ZipArchiveEntry entry) Creates a new zip entry with fields taken from the specified zip entry.privateZipArchiveEntryRequest(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier payloadSupplier) -
Uses of ZipArchiveEntry in org.apache.commons.compress.changes
Fields in org.apache.commons.compress.changes declared as ZipArchiveEntryModifier and TypeFieldDescriptionprivate ZipArchiveEntryChangeSetPerformer.ZipFileIterator.currentFields in org.apache.commons.compress.changes with type parameters of type ZipArchiveEntryModifier and TypeFieldDescriptionprivate final Enumeration<ZipArchiveEntry>ChangeSetPerformer.ZipFileIterator.nestedEnum