net.lingala.zip4j.io
Class PartInputStream
java.lang.Object
java.io.InputStream
net.lingala.zip4j.io.BaseInputStream
net.lingala.zip4j.io.PartInputStream
- All Implemented Interfaces:
- Closeable
- Direct Known Subclasses:
- InflaterInputStream
public class PartInputStream
- extends BaseInputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartInputStream
public PartInputStream(RandomAccessFile raf,
long start,
long len,
UnzipEngine unzipEngine)
available
public int available()
- Overrides:
available
in class BaseInputStream
read
public int read()
throws IOException
- Overrides:
read
in class BaseInputStream
- Throws:
IOException
read
public int read(byte[] b)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
skip
public long skip(long amount)
throws IOException
- Overrides:
skip
in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
seek
public void seek(long pos)
throws IOException
- Overrides:
seek
in class BaseInputStream
- Throws:
IOException
getUnzipEngine
public UnzipEngine getUnzipEngine()
- Overrides:
getUnzipEngine
in class BaseInputStream
Copyright © 2012. All Rights Reserved.