public final class SaveOnReadInputStream extends FilterInputStream
InputStream
wrapper that saves the input on read and provides a InputStreamFactory
.in
Constructor and Description |
---|
SaveOnReadInputStream(InputStream in,
FileStoreInputStreamFactory fsisf) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InputStreamFactory |
getInputStreamFactory() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, mark, markSupported, read, reset, skip
public SaveOnReadInputStream(InputStream in, FileStoreInputStreamFactory fsisf)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
public InputStreamFactory getInputStreamFactory()
Copyright © 2019. All rights reserved.