Uses of Class
org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Packages that use ZipArchiveEntry Package Description org.apache.commons.compress.archivers.jar Provides stream classes for reading and writing archives using the ZIP format with some extensions for the special case of JAR archives.org.apache.commons.compress.archivers.zip Provides stream classes for reading and writing archives using the ZIP format. -
-
Uses of ZipArchiveEntry in org.apache.commons.compress.archivers.jar
Subclasses of ZipArchiveEntry in org.apache.commons.compress.archivers.jar Modifier and Type Class Description class
JarArchiveEntry
JAR archive entry.Methods in org.apache.commons.compress.archivers.jar with parameters of type ZipArchiveEntry Modifier and Type Method Description void
JarArchiveOutputStream. putArchiveEntry(ZipArchiveEntry entry)
Constructors in org.apache.commons.compress.archivers.jar with parameters of type ZipArchiveEntry Constructor Description JarArchiveEntry(ZipArchiveEntry entry)
Constructs a new instance. -
Uses of ZipArchiveEntry in org.apache.commons.compress.archivers.zip
Methods in org.apache.commons.compress.archivers.zip that return ZipArchiveEntry Modifier and Type Method Description ZipArchiveEntry
ZipArchiveOutputStream. createArchiveEntry(java.io.File inputFile, java.lang.String entryName)
Creates a new ZIP entry taking some information from the given file and using the provided name.ZipArchiveEntry
ZipArchiveOutputStream. createArchiveEntry(java.nio.file.Path inputPath, java.lang.String entryName, java.nio.file.LinkOption... options)
Creates a new ZIP entry taking some information from the given file and using the provided name.ZipArchiveEntry
UnsupportedZipFeatureException. getEntry()
The entry using the unsupported feature.ZipArchiveEntry
ZipFile. getEntry(java.lang.String name)
Gets a named entry ornull
if no entry by that name exists.ZipArchiveEntry
ZipArchiveInputStream. getNextEntry()
ZipArchiveEntry
ZipArchiveInputStream. getNextZipEntry()
Deprecated.Methods in org.apache.commons.compress.archivers.zip that return types with arguments of type ZipArchiveEntry Modifier and Type Method Description java.util.Enumeration<ZipArchiveEntry>
ZipFile. getEntries()
Gets all entries.java.lang.Iterable<ZipArchiveEntry>
ZipFile. getEntries(java.lang.String name)
Gets all named entries in the same order they appear within the archive's central directory.java.util.Enumeration<ZipArchiveEntry>
ZipFile. getEntriesInPhysicalOrder()
Gets all entries in physical order.java.lang.Iterable<ZipArchiveEntry>
ZipFile. getEntriesInPhysicalOrder(java.lang.String name)
Gets all named entries in the same order their contents appear within the archive.Methods in org.apache.commons.compress.archivers.zip with parameters of type ZipArchiveEntry Modifier and Type Method Description void
ParallelScatterZipCreator. addArchiveEntry(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier source)
Adds an archive entry to this archive.void
ZipArchiveOutputStream. addRawArchiveEntry(ZipArchiveEntry entry, java.io.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.java.util.concurrent.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 ZipArchiveEntryRequestjava.io.InputStream
ZipFile. getInputStream(ZipArchiveEntry entry)
Gets an InputStream for reading the contents of the given entry.java.io.InputStream
ZipFile. getRawInputStream(ZipArchiveEntry entry)
Gets the raw stream of the archive entry (compressed form).java.lang.String
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 entryConstructors in org.apache.commons.compress.archivers.zip with parameters of type ZipArchiveEntry Constructor Description 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.
-