|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream java.io.FilterInputStream org.apache.commons.io.input.ProxyInputStream com.atlassian.jira.issue.attachment.CustomCloseableInputStream
public class CustomCloseableInputStream
A proxy input stream that allows for custom behaviour when the close() method is called.
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Constructor Summary | |
---|---|
CustomCloseableInputStream(InputStream proxy,
com.atlassian.fugue.Effect<InputStream> onClose)
|
Method Summary | |
---|---|
void |
close()
|
Methods inherited from class org.apache.commons.io.input.ProxyInputStream |
---|
afterRead, available, beforeRead, handleIOException, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomCloseableInputStream(@Nonnull InputStream proxy, @Nonnull com.atlassian.fugue.Effect<InputStream> onClose)
Method Detail |
---|
public void close() throws IOException
close
in interface Closeable
close
in class org.apache.commons.io.input.ProxyInputStream
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |