Uses of Class
java.util.zip.ZipEntry
Packages that useZipEntry
Package
Description
Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.
Provides classes for reading and writing the standard ZIP and GZIP file formats.
Uses ofZipEntry injava.util.jar
Subclasses ofZipEntry injava.util.jarMethods injava.util.jar that returnZipEntryModifier and TypeMethodDescriptionprotectedZipEntryJarInputStream.createZipEntry(String name) Creates a newJarEntry(ZipEntry) for the specified JAR file entry name.Returns theZipEntryfor the given base entry name ornullif not found.JarInputStream.getNextEntry()Reads the next ZIP file entry and positions the stream at the beginning of the entry data.Methods injava.util.jar with parameters of typeZipEntryModifier and TypeMethodDescriptionJarFile.getInputStream(ZipEntry ze) Returns an input stream for reading the contents of the specified zip file entry.voidJarOutputStream.putNextEntry(ZipEntry ze) Begins writing a new JAR file entry and positions the stream to the start of the entry data.Constructors injava.util.jar with parameters of typeZipEntryUses ofZipEntry injava.util.zip
Methods injava.util.zip that returnZipEntryModifier and TypeMethodDescriptionprotectedZipEntryZipInputStream.createZipEntry(String name) Creates a newZipEntryobject for the specified entry name.Returns the zip file entry for the specified name, or null if not found.ZipInputStream.getNextEntry()Reads the next ZIP file entry and positions the stream at the beginning of the entry data.ZipEntry.setCreationTime(FileTime time) Sets the creation time of the entry.ZipEntry.setLastAccessTime(FileTime time) Sets the last access time of the entry.ZipEntry.setLastModifiedTime(FileTime time) Sets the last modification time of the entry.Methods injava.util.zip that return types with arguments of typeZipEntryModifier and TypeMethodDescriptionEnumeration<? extendsZipEntry>ZipFile.entries()Returns an enumeration of the ZIP file entries.ZipFile.stream()Returns an orderedStreamover the ZIP file entries.Methods injava.util.zip with parameters of typeZipEntryModifier and TypeMethodDescriptionZipFile.getInputStream(ZipEntry entry) Returns an input stream for reading the contents of the specified zip file entry.voidZipOutputStream.putNextEntry(ZipEntry e) Begins writing a new ZIP file entry and positions the stream to the start of the entry data.Constructors injava.util.zip with parameters of typeZipEntry