public class CloseNotifyInputStream extends FilterInputStream
| Modifier and Type | Class and Description |
|---|---|
static interface |
CloseNotifyInputStream.CloseMethod
A callback that allows notifications of the close method
|
in| Constructor and Description |
|---|
CloseNotifyInputStream(InputStream in, CloseNotifyInputStream.CloseMethod closeMethod) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this input stream and releases any system resources associated with the stream.
|
InputStream |
getWrappedStream() |
available, mark, markSupported, read, read, read, reset, skippublic CloseNotifyInputStream(InputStream in, CloseNotifyInputStream.CloseMethod closeMethod)
public InputStream getWrappedStream()
public void close()
throws IOException
in.close().close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOException - if an I/O error occurs.FilterInputStream.in