Class ArchiveEntryInputStream
java.lang.Object
java.io.InputStream
fr.gouv.vitam.common.storage.compress.ArchiveEntryInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
ArchiveEntryInputStream class
Archive input streams MUST override the
read(byte[], int, int)
- or read()
- method so
that reading from the stream generates EOF for the end of data in each entry as well as at the end of the file
proper.-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
ArchiveEntryInputStream
- Parameters:
archiveInputStream
-- Throws:
IOException
-
-
Method Details
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
-
setClosed
public void setClosed(boolean isclosed) Allow to "fakely" reopen this InputStream- Parameters:
isclosed
-
-