public class ArchiveEntryInputStream extends InputStream
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 and Description |
|---|
ArchiveEntryInputStream(InputStream archiveInputStream) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
setClosed(boolean isclosed)
Allow to "fakely" reopen this InputStream
|
long |
skip(long n) |
mark, markSupported, resetpublic ArchiveEntryInputStream(InputStream archiveInputStream) throws IOException
archiveInputStream - IOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic void setClosed(boolean isclosed)
isclosed - Copyright © 2018 Vitam. All rights reserved.