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, skip
public CustomCloseInputStream(InputStream inputStream, Runnable cleanup)
public int read() throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2024. All rights reserved.