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, reset
public ArchiveEntryInputStream(InputStream archiveInputStream) throws IOException
archiveInputStream
- IOException
public int available() throws IOException
available
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
public void setClosed(boolean isclosed)
isclosed
- Copyright © 2018 Vitam. All rights reserved.