Class SevenZipArchiveInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.commons.compress.archivers.ArchiveInputStream
-
- io.freefair.gradle.plugins.compress.internal.SevenZipArchiveInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class SevenZipArchiveInputStream extends ArchiveInputStream
-
-
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, getBytesRead, getCount, pushedBackBytes
-
-
-
-
Constructor Detail
-
SevenZipArchiveInputStream
public SevenZipArchiveInputStream(SevenZFile sevenZFile)
-
-
Method Detail
-
getNextEntry
public ArchiveEntry getNextEntry() throws java.io.IOException
- Specified by:
getNextEntry
in classArchiveInputStream
- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException
- Overrides:
read
in classArchiveInputStream
- Throws:
java.io.IOException
-
read
public int read(byte[] b) throws java.io.IOException
- Overrides:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
read
public int read(byte[] b, int off, int len) throws java.io.IOException
- Overrides:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.InputStream
- Throws:
java.io.IOException
-
-