public class Jar.ZipStreamImpl extends StreamImpl
_nullPath, _path| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead()
Returns true since this is a read stream.
|
void |
close()
Closes the stream.
|
int |
getAvailable()
Returns the number of bytes available without blocking.
|
java.util.zip.ZipEntry |
getZipEntry() |
int |
read(byte[] buf,
int off,
int len)
Reads the next chunk from the stream.
|
canWrite, clearWrite, closeWrite, flush, flushBuffer, flushToDisk, getAttribute, getAttributeNames, getFlushOnNewline, getNewline, getPath, getReadBuffer, getReadPosition, hasSkip, isClosed, isEof, isMmapEnabled, isSendfileEnabled, readNonBlock, readTimeout, removeAttribute, seekEnd, seekStart, setAttribute, setPath, setWriteEncoding, skip, write, write, writeMmap, writeSendfilepublic java.util.zip.ZipEntry getZipEntry()
public boolean canRead()
canRead in class StreamImplpublic int getAvailable()
throws java.io.IOException
StreamImplgetAvailable in class StreamImpljava.io.IOExceptionpublic int read(byte[] buf,
int off,
int len)
throws java.io.IOException
StreamImplread in class StreamImplbuf - byte array receiving the data.off - starting offset into the array.len - number of bytes to read.java.io.IOExceptionpublic void close()
throws java.io.IOException
StreamImplclose in class StreamImpljava.io.IOException