| |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.util.zip
类 ZipInputStream
java.lang.Object java.io.InputStream java.io.FilterInputStream java.util.zip.InflaterInputStream java.util.zip.ZipInputStream
- 所有已实现的接口:
- Closeable
- 直接已知子类:
- JarInputStream
public class ZipInputStream
- extends InflaterInputStream
此类为读取 ZIP 文件格式的文件实现输入流过滤器。包括对已压缩和未压缩条目的支持。
字段摘要 | |
---|---|
static int | CENATT |
static int | CENATX |
static int | CENCOM |
static int | CENCRC |
static int | CENDSK |
static int | CENEXT |
static int | CENFLG |
static int | CENHDR |
static int | CENHOW |
static int | CENLEN |
static int | CENNAM |
static int | CENOFF |
static long | CENSIG |
static int | CENSIZ |
static int | CENTIM |
static int | CENVEM |
static int | CENVER |
static int | ENDCOM |
static int | ENDHDR |
static int | ENDOFF |
static long | ENDSIG |
static int | ENDSIZ |
static int | ENDSUB |
static int | ENDTOT |
static int | EXTCRC |
static int | EXTHDR |
static int | EXTLEN |
static long | EXTSIG |
static int | EXTSIZ |
static int | LOCCRC |
static int | LOCEXT |
static int | LOCFLG |
static int | LOCHDR |
static int | LOCHOW |
static int | LOCLEN |
static int | LOCNAM |
static long | LOCSIG |
static int | LOCSIZ |
static int | LOCTIM |
static int | LOCVER |
从类 java.util.zip.InflaterInputStream 继承的字段 |
---|
buf, inf, len |
从类 java.io.FilterInputStream 继承的字段 |
---|
in |
构造方法摘要 | |
---|---|
ZipInputStream(InputStream in) 创建新的 ZIP 输入流。 |
方法摘要 | |
---|---|
int | available() 在 EOF 到达当前条目数据后,返回 0;否则,始终返回 1。 |
void | close() 关闭此输入流并释放与此流关联的所有系统资源。 |
void | closeEntry() 关闭当前 ZIP 条目并定位流以读取下一个条目。 |
protected ZipEntry | createZipEntry(String name) 为指定条目名称创建一个新的 ZipEntry 对象。 |
ZipEntry | getNextEntry() 读取下一个 ZIP 文件条目并将流定位到该条目数据的开始处。 |
int | read(byte[] b, int off, int len) 从当前 ZIP 条目读入字节数组。 |
long | skip(long n) 跳过当前 ZIP 条目中指定的字节数。 |
从类 java.util.zip.InflaterInputStream 继承的方法 |
---|
fill, mark, markSupported, read, reset |
从类 java.io.FilterInputStream 继承的方法 |
---|
read |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
LOCSIG
public static final long LOCSIG
- 另请参见:
- 常量字段值
EXTSIG
public static final long EXTSIG
- 另请参见:
- 常量字段值
CENSIG
public static final long CENSIG
- 另请参见:
- 常量字段值
ENDSIG
public static final long ENDSIG
- 另请参见:
- 常量字段值
LOCHDR
public static final int LOCHDR
- 另请参见:
- 常量字段值
EXTHDR
public static final int EXTHDR
- 另请参见:
- 常量字段值
CENHDR
public static final int CENHDR
- 另请参见:
- 常量字段值