站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.util.zip.ZipEntry - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.util.zip.ZipEntry

Packages that use ZipEntry
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
 class JarEntry
          This class is used to represent a JAR file entry.
 

Methods in java.util.jar that return ZipEntry
 ZipEntry JarFile.getEntry(String name)
           
 ZipEntry JarInputStream.getNextEntry()
          Reads the next ZIP file entry and positions stream at the beginning of the entry data.
protected  ZipEntry JarInputStream.createZipEntry(String name)
          Creates a new JarEntry (ZipEntry) for the specified JAR file entry name.
 

Methods in java.util.jar with parameters of type ZipEntry
 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
JarEntry.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
 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 stream at the beginning of the entry data.
protected  ZipEntry ZipInputStream.createZipEntry(String name)
          Creates a new ZipEntry object for the specified entry name.
 

Methods in java.util.zip with parameters of type ZipEntry
 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
ZipEntry.ZipEntry(ZipEntry e)
          Creates a new zip entry with fields taken from the specified zip entry.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.