Uses of Class
java.util.zip.ZipEntry
-
Packages that use ZipEntry Package Description java.util.jar 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.java.util.zip Provides classes for reading and writing the standard ZIP and GZIP file formats. -
-
Uses of ZipEntry in java.util.jar
Subclasses of ZipEntry in java.util.jar Modifier and Type Class Description classJarEntryThis class is used to represent a JAR file entry.Methods in java.util.jar that return ZipEntry Modifier and Type Method Description protected ZipEntryJarInputStream. createZipEntry(String name)Creates a newJarEntry(ZipEntry) for the specified JAR file entry name.ZipEntryJarFile. getEntry(String name)Returns theZipEntryfor the given base entry name ornullif not found.ZipEntryJarInputStream. getNextEntry()Reads the next ZIP file entry and positions the stream at the beginning of the entry data.Methods in java.util.jar with parameters of type ZipEntry Modifier and Type Method Description InputStreamJarFile. 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 in java.util.jar with parameters of type ZipEntry Constructor Description JarEntry(ZipEntry ze)Creates a newJarEntrywith fields taken from the specifiedZipEntryobject. -
Uses of ZipEntry in java.util.zip
Methods in java.util.zip that return ZipEntry Modifier and Type Method Description protected ZipEntryZipInputStream. createZipEntry(String name)Creates a newZipEntryobject for the specified entry name.ZipEntryZipFile. getEntry(String name)Returns the zip file entry for the specified name, or null if not found.ZipEntryZipInputStream. getNextEntry()Reads the next ZIP file entry and positions the stream at the beginning of the entry data.ZipEntryZipEntry. setCreationTime(FileTime time)Sets the creation time of the entry.ZipEntryZipEntry. setLastAccessTime(FileTime time)Sets the last access time of the entry.ZipEntryZipEntry. setLastModifiedTime(FileTime time)Sets the last modification time of the entry.Methods in java.util.zip that return types with arguments of type ZipEntry Modifier and Type Method Description Enumeration<? extends ZipEntry>ZipFile. entries()Returns an enumeration of the ZIP file entries.Stream<? extends ZipEntry>ZipFile. stream()Returns an orderedStreamover the ZIP file entries.Methods in java.util.zip with parameters of type ZipEntry Modifier and Type Method Description InputStreamZipFile. 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 in java.util.zip with parameters of type ZipEntry Constructor Description ZipEntry(ZipEntry e)Creates a new zip entry with fields taken from the specified zip entry.
-