Package com.logicaldoc.util.io
Class ZipInputStream
- java.lang.Object
 - 
- java.io.InputStream
 - 
- com.logicaldoc.util.io.ZipInputStream
 
 
 
- 
- All Implemented Interfaces:
 Closeable,AutoCloseable
- Direct Known Subclasses:
 AutoDeleteZipInputStream
public class ZipInputStream extends InputStream
Wrapper around a standard AutoDeleteZipInputStream that avoids the CRC checks on stream closure.- Since:
 - 6.2
 - Author:
 - Marco Meschieri - LogicalDOC
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ZipInputStream(net.lingala.zip4j.io.ZipInputStream wrapped) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()voidclose()voidclose(boolean arg0)booleanequals(Object obj)inthashCode()voidmark(int readlimit)booleanmarkSupported()intread()intread(byte[] b)intread(byte[] b, int off, int len)voidreset()longskip(long n)StringtoString()- 
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo 
 - 
 
 - 
 
- 
- 
Method Detail
- 
available
public int available() throws IOException- Overrides:
 availablein classInputStream- Throws:
 IOException
 
- 
close
public void close() throws IOException- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Overrides:
 closein classInputStream- Throws:
 IOException
 
- 
close
public void close(boolean arg0) throws IOException- Throws:
 IOException
 
- 
mark
public void mark(int readlimit)
- Overrides:
 markin classInputStream
 
- 
markSupported
public boolean markSupported()
- Overrides:
 markSupportedin classInputStream
 
- 
read
public int read() throws IOException- Specified by:
 readin classInputStream- Throws:
 IOException
 
- 
read
public int read(byte[] b, int off, int len) throws IOException- Overrides:
 readin classInputStream- Throws:
 IOException
 
- 
read
public int read(byte[] b) throws IOException- Overrides:
 readin classInputStream- Throws:
 IOException
 
- 
reset
public void reset() throws IOException- Overrides:
 resetin classInputStream- Throws:
 IOException
 
- 
skip
public long skip(long n) throws IOException- Overrides:
 skipin classInputStream- Throws:
 IOException
 
 - 
 
 -