Package jetbrains.buildServer.util
Class ApacheJavaZipInputStreamBridge
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.apache.commons.compress.archivers.ArchiveInputStream
-
- jetbrains.buildServer.util.ApacheJavaZipInputStreamBridge
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ApacheJavaZipInputStreamBridge extends org.apache.commons.compress.archivers.ArchiveInputStream
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description ApacheJavaZipInputStreamBridge(ZipInputStream delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
available()
boolean
canReadEntryData(org.apache.commons.compress.archivers.ArchiveEntry archiveEntry)
void
close()
org.apache.commons.compress.archivers.ArchiveEntry
getNextEntry()
void
mark(int i)
boolean
markSupported()
int
read()
int
read(byte[] bytes)
int
read(byte[] bytes, int i, int i1)
void
reset()
long
skip(long l)
-
-
-
Constructor Detail
-
ApacheJavaZipInputStreamBridge
public ApacheJavaZipInputStreamBridge(@NotNull ZipInputStream delegate)
-
-
Method Detail
-
getNextEntry
public org.apache.commons.compress.archivers.ArchiveEntry getNextEntry() throws IOException
- Specified by:
getNextEntry
in classorg.apache.commons.compress.archivers.ArchiveInputStream
- Throws:
IOException
-
read
public int read() throws IOException
- Overrides:
read
in classorg.apache.commons.compress.archivers.ArchiveInputStream
- Throws:
IOException
-
canReadEntryData
public boolean canReadEntryData(org.apache.commons.compress.archivers.ArchiveEntry archiveEntry)
- Overrides:
canReadEntryData
in classorg.apache.commons.compress.archivers.ArchiveInputStream
-
read
public int read(@NotNull byte[] bytes) throws IOException
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
public int read(@NotNull byte[] bytes, int i, int i1) throws IOException
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
skip
public long skip(long l) throws IOException
- Overrides:
skip
in classFilterInputStream
- Throws:
IOException
-
available
public int available() throws IOException
- Overrides:
available
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
-
mark
public void mark(int i)
- Overrides:
mark
in classorg.apache.commons.compress.archivers.ArchiveInputStream
-
reset
public void reset() throws IOException
- Overrides:
reset
in classorg.apache.commons.compress.archivers.ArchiveInputStream
- Throws:
IOException
-
markSupported
public boolean markSupported()
- Overrides:
markSupported
in classorg.apache.commons.compress.archivers.ArchiveInputStream
-
-