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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final intstatic final intstatic final intstatic final longstatic final longstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getNextEntry(SevenZipInputStream.Behavior behavior) intread()intread(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:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-