Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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 and Description
 class JarEntry
          This class is used to represent a JAR file entry.
 

Methods in java.util.jar that return ZipEntry
Modifier and Type Method and Description
protected  ZipEntry JarInputStream.createZipEntry(String name)
          Creates a new JarEntry (ZipEntry) for the specified JAR file entry name.
 ZipEntry JarFile.getEntry(String name)
          Returns the ZipEntry for the given entry name or null if not found.
 ZipEntry JarInputStream.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 and Description
 InputStream JarFile.getInputStream(ZipEntry ze)
          Returns an input stream for reading the contents of the specified zip file entry.
 void JarOutputStream.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 and Description
JarEntry(ZipEntry ze)
          Creates a new JarEntry with fields taken from the specified ZipEntry object.
 

Uses of ZipEntry in java.util.zip
 

Methods in java.util.zip that return ZipEntry
Modifier and Type Method and Description
protected  ZipEntry ZipInputStream.createZipEntry(String name)
          Creates a new ZipEntry object for the specified entry name.
 ZipEntry ZipFile.getEntry(String name)
          Returns the zip file entry for the specified name, or null if not found.
 ZipEntry ZipInputStream.getNextEntry()
          Reads the next ZIP file entry and positions the stream at the beginning of the entry data.
 

Methods in java.util.zip that return types with arguments of type ZipEntry
Modifier and Type Method and Description
 Enumeration<? extends ZipEntry> ZipFile.entries()
          Returns an enumeration of the ZIP file entries.
 

Methods in java.util.zip with parameters of type ZipEntry
Modifier and Type Method and Description
 InputStream ZipFile.getInputStream(ZipEntry entry)
          Returns an input stream for reading the contents of the specified zip file entry.
 void ZipOutputStream.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 and Description
ZipEntry(ZipEntry e)
          Creates a new zip entry with fields taken from the specified zip entry.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.