Uses of Class
org.apache.commons.compress.archivers.zip.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.
-
Uses of ZipArchiveEntry in org.apache.commons.compress.archivers.jar
Modifier and TypeMethodDescriptionvoid
JarArchiveOutputStream.putArchiveEntry
(ZipArchiveEntry entry) -
Uses of ZipArchiveEntry in org.apache.commons.compress.archivers.zip
Modifier and TypeMethodDescriptionZipArchiveOutputStream.createArchiveEntry
(File inputFile, String entryName) Creates a new ZIP entry taking some information from the given file and using the provided name.ZipArchiveOutputStream.createArchiveEntry
(Path inputPath, String entryName, LinkOption... options) Creates a new ZIP entry taking some information from the given file and using the provided name.UnsupportedZipFeatureException.getEntry()
The entry using the unsupported feature.Gets a named entry ornull
if no entry by that name exists.ZipArchiveInputStream.getNextEntry()
ZipArchiveInputStream.getNextZipEntry()
Deprecated.Modifier and TypeMethodDescriptionZipFile.getEntries()
Gets all entries.ZipFile.getEntries
(String name) Gets all named entries in the same order they appear within the archive's central directory.ZipFile.getEntriesInPhysicalOrder()
Gets all entries in physical order.ZipFile.getEntriesInPhysicalOrder
(String name) Gets all named entries in the same order their contents appear within the archive.Modifier and TypeMethodDescriptionvoid
ParallelScatterZipCreator.addArchiveEntry
(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier source) Adds an archive entry to this archive.void
ZipArchiveOutputStream.addRawArchiveEntry
(ZipArchiveEntry entry, InputStream rawStream) Adds an archive entry with a raw input stream.boolean
ZipFile.canReadEntryData
(ZipArchiveEntry entry) Whether this class is able to read the given entry.final Callable<ScatterZipOutputStream>
ParallelScatterZipCreator.createCallable
(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier source) Creates a callable that will compress the given archive entry.static ZipArchiveEntryRequest
ZipArchiveEntryRequest.createZipArchiveEntryRequest
(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier payloadSupplier) Creates a ZipArchiveEntryRequestZipFile.getInputStream
(ZipArchiveEntry entry) Gets an InputStream for reading the contents of the given entry.ZipFile.getRawInputStream
(ZipArchiveEntry entry) Gets the raw stream of the archive entry (compressed form).ZipFile.getUnixSymlink
(ZipArchiveEntry entry) Gets the entry's content as a String if isUnixSymlink() returns true for it, otherwise returns null.void
ZipArchiveOutputStream.putArchiveEntry
(ZipArchiveEntry archiveEntry) Writes the headers for an archive entry to the output stream.boolean
ZipArchiveEntryPredicate.test
(ZipArchiveEntry zipArchiveEntry) Indicate if the given entry should be included in the operationprotected void
ZipArchiveOutputStream.writeCentralFileHeader
(ZipArchiveEntry ze) Writes the central file header entry.protected void
ZipArchiveOutputStream.writeDataDescriptor
(ZipArchiveEntry ze) Writes the data descriptor entry.protected void
ZipArchiveOutputStream.writeLocalFileHeader
(ZipArchiveEntry ze) Writes the local file header entryModifierConstructorDescriptionUnsupportedZipFeatureException
(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.
ZipArchiveInputStream.getNextEntry()
.