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
Constructors -
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:
availablein classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream
-
setClosed
public void setClosed(boolean isclosed) Allow to "fakely" reopen this InputStream- Parameters:
isclosed-
-