public class ObservableInputStream extends InputStream
| Constructor and Description |
|---|
ObservableInputStream(InputStream is,
CloseableObserver observer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<CloseableObserver> |
getObservers() |
int |
read() |
available, mark, markSupported, read, read, reset, skippublic ObservableInputStream(InputStream is, CloseableObserver observer)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic List<CloseableObserver> getObservers()
Copyright © 2020 Paul Warren. All rights reserved.