Package jetbrains.buildServer.util
Class ApacheZipSlipAwareArchiveInputStream
- java.lang.Object
-
- ArchiveInputStream
-
- jetbrains.buildServer.util.ApacheZipSlipAwareArchiveInputStream
-
public class ApacheZipSlipAwareArchiveInputStream extends ArchiveInputStream
-
-
Constructor Summary
Constructors Constructor Description ApacheZipSlipAwareArchiveInputStream(ArchiveInputStream delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
available()
boolean
canReadEntryData(ArchiveEntry archiveEntry)
void
close()
long
getBytesRead()
int
getCount()
Deprecated.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)
-
-
-
Method Detail
-
getNextEntry
public ArchiveEntry getNextEntry() throws java.io.IOException
- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException
- Throws:
java.io.IOException
-
getCount
@Deprecated public int getCount()
Deprecated.
-
getBytesRead
public long getBytesRead()
-
canReadEntryData
public boolean canReadEntryData(ArchiveEntry archiveEntry)
-
read
public int read(@NotNull byte[] bytes) throws java.io.IOException
- Throws:
java.io.IOException
-
read
public int read(@NotNull byte[] bytes, int i, int i1) throws java.io.IOException
- Throws:
java.io.IOException
-
skip
public long skip(long l) throws java.io.IOException
- Throws:
java.io.IOException
-
available
public int available() throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
mark
public void mark(int i)
-
reset
public void reset() throws java.io.IOException
- Throws:
java.io.IOException
-
markSupported
public boolean markSupported()
-
-