|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
org.jboss.virtual.plugins.context.zip.ZipEntryInputStream
public class ZipEntryInputStream
ZipEntryInputStream is part of ZipFileWrapper implementation. It wraps the stream retrieved from ZipFile.getInputStream(entry) and releases the underlying ZipFileWrapper when detecting end of use.
| Method Summary | |
|---|---|
int |
available()
|
void |
close()
Close this stream and release zipWrapper |
protected void |
finalize()
Properly release held resources |
void |
mark(int readlimit)
|
int |
read()
Read one byte. |
int |
read(byte[] buf)
Read a buffer of bytes. |
int |
read(byte[] buf,
int off,
int len)
Read a buffer of bytes. |
void |
reset()
|
long |
skip(long n)
|
| Methods inherited from class java.io.InputStream |
|---|
markSupported |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int read()
throws IOException
read in class InputStreamIOException - for any errorInputStream.read()
public int read(byte[] buf)
throws IOException
read in class InputStreambuf - read buffer
IOException - for any errorInputStream.read(byte[])
public int read(byte[] buf,
int off,
int len)
throws IOException
read in class InputStreambuf - read bufferoff - position within buffer to start reading atlen - maximum bytes to read
IOException - for any errorInputStream.read(byte[],int,int)
public void reset()
throws IOException
reset in class InputStreamIOExceptionInputStream.reset()public void mark(int readlimit)
mark in class InputStreamInputStream.mark(int)
public int available()
throws IOException
available in class InputStreamIOExceptionInputStream.available()
public long skip(long n)
throws IOException
skip in class InputStreamIOExceptionInputStream.skip(long)
public void close()
throws IOException
close in interface Closeableclose in class InputStreamIOExceptionInputStream.close()
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||