Class SevenZipArchiveInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.apache.commons.compress.archivers.ArchiveInputStream
-
- io.freefair.gradle.plugins.compress.internal.SevenZipArchiveInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class SevenZipArchiveInputStream extends ArchiveInputStream
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description SevenZipArchiveInputStream(SevenZFile sevenZFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
ArchiveEntry
getNextEntry()
int
read()
int
read(byte[] b)
int
read(byte[] b, int off, int len)
-
Methods inherited from class org.apache.commons.compress.archivers.ArchiveInputStream
canReadEntryData, count, count, forEach, getBytesRead, getCharset, getCount, iterator, mark, markSupported, pushedBackBytes, reset
-
Methods inherited from class java.io.FilterInputStream
available, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
SevenZipArchiveInputStream
public SevenZipArchiveInputStream(SevenZFile sevenZFile)
-
-
Method Detail
-
getNextEntry
public ArchiveEntry getNextEntry() throws IOException
- Specified by:
getNextEntry
in classArchiveInputStream
- Throws:
IOException
-
read
public int read() throws IOException
- Overrides:
read
in classArchiveInputStream
- Throws:
IOException
-
read
public int read(byte[] b) throws IOException
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
- Throws:
IOException
-
-