public class CustomCloseInputStream extends InputStream
| Constructor and Description |
|---|
CustomCloseInputStream(InputStream inputStream,
Runnable cleanup) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
available, mark, markSupported, read, read, reset, skippublic CustomCloseInputStream(InputStream inputStream, Runnable cleanup)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2024. All rights reserved.