Package io.deephaven.io.streams
Class SevenZipInputStream
java.lang.Object
java.io.InputStream
io.deephaven.io.streams.SevenZipInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
InputStream
that can read 7zip archives (.7z) (partial implementation).-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
static final int
static final int
static final int
static final long
static final long
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getNextEntry
(SevenZipInputStream.Behavior behavior) int
read()
int
read
(byte[] bytes, int nOffset, int nLength) Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
UBYTE_TO_INT
public static final int UBYTE_TO_INT- See Also:
-
UBYTE_TO_LONG
public static final long UBYTE_TO_LONG- See Also:
-
USHORT_TO_INT
public static final int USHORT_TO_INT- See Also:
-
UINT_TO_LONG
public static final long UINT_TO_LONG- See Also:
-
SIGNATURE_AS_LONG
public static final long SIGNATURE_AS_LONG -
START_HEADER_LENGTH
public static final int START_HEADER_LENGTH- See Also:
-
START_HEADER_CRC_LENGTH
public static final int START_HEADER_CRC_LENGTH- See Also:
-
-
Constructor Details
-
SevenZipInputStream
-
-
Method Details
-
getNextEntry
public SevenZipInputStream.Entry getNextEntry(SevenZipInputStream.Behavior behavior) throws IOException - Throws:
IOException
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-