⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zipinputstream.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
EXTLEN</H3><PRE>public static final int <B>EXTLEN</B></PRE><DL></DL><HR><A NAME="CENVEM"><!-- --></A><H3>CENVEM</H3><PRE>public static final int <B>CENVEM</B></PRE><DL></DL><HR><A NAME="CENVER"><!-- --></A><H3>CENVER</H3><PRE>public static final int <B>CENVER</B></PRE><DL></DL><HR><A NAME="CENFLG"><!-- --></A><H3>CENFLG</H3><PRE>public static final int <B>CENFLG</B></PRE><DL></DL><HR><A NAME="CENHOW"><!-- --></A><H3>CENHOW</H3><PRE>public static final int <B>CENHOW</B></PRE><DL></DL><HR><A NAME="CENTIM"><!-- --></A><H3>CENTIM</H3><PRE>public static final int <B>CENTIM</B></PRE><DL></DL><HR><A NAME="CENCRC"><!-- --></A><H3>CENCRC</H3><PRE>public static final int <B>CENCRC</B></PRE><DL></DL><HR><A NAME="CENSIZ"><!-- --></A><H3>CENSIZ</H3><PRE>public static final int <B>CENSIZ</B></PRE><DL></DL><HR><A NAME="CENLEN"><!-- --></A><H3>CENLEN</H3><PRE>public static final int <B>CENLEN</B></PRE><DL></DL><HR><A NAME="CENNAM"><!-- --></A><H3>CENNAM</H3><PRE>public static final int <B>CENNAM</B></PRE><DL></DL><HR><A NAME="CENEXT"><!-- --></A><H3>CENEXT</H3><PRE>public static final int <B>CENEXT</B></PRE><DL></DL><HR><A NAME="CENCOM"><!-- --></A><H3>CENCOM</H3><PRE>public static final int <B>CENCOM</B></PRE><DL></DL><HR><A NAME="CENDSK"><!-- --></A><H3>CENDSK</H3><PRE>public static final int <B>CENDSK</B></PRE><DL></DL><HR><A NAME="CENATT"><!-- --></A><H3>CENATT</H3><PRE>public static final int <B>CENATT</B></PRE><DL></DL><HR><A NAME="CENATX"><!-- --></A><H3>CENATX</H3><PRE>public static final int <B>CENATX</B></PRE><DL></DL><HR><A NAME="CENOFF"><!-- --></A><H3>CENOFF</H3><PRE>public static final int <B>CENOFF</B></PRE><DL></DL><HR><A NAME="ENDSUB"><!-- --></A><H3>ENDSUB</H3><PRE>public static final int <B>ENDSUB</B></PRE><DL></DL><HR><A NAME="ENDTOT"><!-- --></A><H3>ENDTOT</H3><PRE>public static final int <B>ENDTOT</B></PRE><DL></DL><HR><A NAME="ENDSIZ"><!-- --></A><H3>ENDSIZ</H3><PRE>public static final int <B>ENDSIZ</B></PRE><DL></DL><HR><A NAME="ENDOFF"><!-- --></A><H3>ENDOFF</H3><PRE>public static final int <B>ENDOFF</B></PRE><DL></DL><HR><A NAME="ENDCOM"><!-- --></A><H3>ENDCOM</H3><PRE>public static final int <B>ENDCOM</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ZipInputStream(java.io.InputStream)"><!-- --></A><H3>ZipInputStream</H3><PRE>public <B>ZipInputStream</B>(<A HREF="../../../java/io/InputStream.html">InputStream</A>&nbsp;in)</PRE><DL><DD>Creates a new ZIP input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - the actual input stream</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getNextEntry()"><!-- --></A><H3>getNextEntry</H3><PRE>public <A HREF="../../../java/util/zip/ZipEntry.html">ZipEntry</A> <B>getNextEntry</B>()                      throws <A HREF="../../../java/io/IOException.html">IOException</A></PRE><DL><DD>Reads the next ZIP file entry and positions stream at the beginning of the entry data.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the ZipEntry just read<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/util/zip/ZipException.html">ZipException</A></CODE> - if a ZIP file error has occurred<DD><CODE><A HREF="../../../java/io/IOException.html">IOException</A></CODE> - if an I/O error has occurred</DL></DD></DL><HR><A NAME="closeEntry()"><!-- --></A><H3>closeEntry</H3><PRE>public void <B>closeEntry</B>()                throws <A HREF="../../../java/io/IOException.html">IOException</A></PRE><DL><DD>Closes the current ZIP entry and positions the stream for reading the next entry.<DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../java/util/zip/ZipException.html">ZipException</A></CODE> - if a ZIP file error has occurred<DD><CODE><A HREF="../../../java/io/IOException.html">IOException</A></CODE> - if an I/O error has occurred</DL></DD></DL><HR><A NAME="available()"><!-- --></A><H3>available</H3><PRE>public int <B>available</B>()              throws <A HREF="../../../java/io/IOException.html">IOException</A></PRE><DL><DD>Returns 0 after EOF has reached for the current entry data, otherwise always return 1. <p> Programs should not count on this method to return the actual number of bytes that could be read without blocking.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/util/zip/InflaterInputStream.html#available()">available</A></CODE> in class <CODE><A HREF="../../../java/util/zip/InflaterInputStream.html">InflaterInputStream</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>1 before EOF and 0 after EOF has reached for current entry.<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/io/IOException.html">IOException</A></CODE> - if an I/O error occurs.</DL></DD></DL><HR><A NAME="read(byte[], int, int)"><!-- --></A><H3>read</H3><PRE>public int <B>read</B>(byte[]&nbsp;b,                int&nbsp;off,                int&nbsp;len)         throws <A HREF="../../../java/io/IOException.html">IOException</A></PRE><DL><DD>Reads from the current ZIP entry into an array of bytes. Blocks until some input is available.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/util/zip/InflaterInputStream.html#read(byte[], int, int)">read</A></CODE> in class <CODE><A HREF="../../../java/util/zip/InflaterInputStream.html">InflaterInputStream</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>b</CODE> - the buffer into which the data is read<DD><CODE>off</CODE> - the start offset of the data<DD><CODE>len</CODE> - the maximum number of bytes read<DT><B>Returns:</B><DD>the actual number of bytes read, or -1 if the end of the         entry is reached<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/util/zip/ZipException.html">ZipException</A></CODE> - if a ZIP file error has occurred<DD><CODE><A HREF="../../../java/io/IOException.html">IOException</A></CODE> - if an I/O error has occurred</DL></DD></DL><HR><A NAME="skip(long)"><!-- --></A><H3>skip</H3><PRE>public long <B>skip</B>(long&nbsp;n)          throws <A HREF="../../../java/io/IOException.html">IOException</A></PRE><DL><DD>Skips specified number of bytes in the current ZIP entry.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/util/zip/InflaterInputStream.html#skip(long)">skip</A></CODE> in class <CODE><A HREF="../../../java/util/zip/InflaterInputStream.html">InflaterInputStream</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - the number of bytes to skip<DT><B>Returns:</B><DD>the actual number of bytes skipped<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/util/zip/ZipException.html">ZipException</A></CODE> - if a ZIP file error has occurred<DD><CODE><A HREF="../../../java/io/IOException.html">IOException</A></CODE> - if an I/O error has occurred<DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if n < 0</DL></DD></DL><HR><A NAME="close()"><!-- --></A><H3>close</H3><PRE>public void <B>close</B>()           throws <A HREF="../../../java/io/IOException.html">IOException</A></PRE><DL><DD>Closes the ZIP input stream.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/util/zip/InflaterInputStream.html#close()">close</A></CODE> in class <CODE><A HREF="../../../java/util/zip/InflaterInputStream.html">InflaterInputStream</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../java/io/IOException.html">IOException</A></CODE> - if an I/O error has occurred</DL></DD></DL><HR><A NAME="createZipEntry(java.lang.String)"><!-- --></A><H3>createZipEntry</H3><PRE>protected <A HREF="../../../java/util/zip/ZipEntry.html">ZipEntry</A> <B>createZipEntry</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name)</PRE><DL><DD>Creates a new <code>ZipEntry</code> object for the specified entry name.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the ZIP file entry name<DT><B>Returns:</B><DD>the ZipEntry just created</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ZipInputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../java/util/zip/ZipFile.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../java/util/zip/ZipOutputStream.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ZipInputStream.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -