Package net.sf.jazzlib
Class ZipFile.PartialInputStream
- java.lang.Object
-
- java.io.InputStream
-
- net.sf.jazzlib.ZipFile.PartialInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- ZipFile
private static class ZipFile.PartialInputStream extends java.io.InputStream
-
-
Constructor Summary
Constructors Constructor Description PartialInputStream(java.io.RandomAccessFile raf, long start, long len)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()intread()intread(byte[] b, int off, int len)longskip(long amount)
-
-
-
Method Detail
-
available
public int available()
- Overrides:
availablein classjava.io.InputStream
-
read
public int read() throws java.io.IOException- Specified by:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
read
public int read(byte[] b, int off, int len) throws java.io.IOException- Overrides:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
skip
public long skip(long amount)
- Overrides:
skipin classjava.io.InputStream
-
-