public class

CustomCloseableInputStream

extends ProxyInputStream
java.lang.Object
   ↳ java.io.InputStream
     ↳ java.io.FilterInputStream
       ↳ org.apache.commons.io.input.ProxyInputStream
         ↳ com.atlassian.jira.issue.attachment.CustomCloseableInputStream

Class Overview

A proxy input stream that allows for custom behaviour when the close() method is called.

Summary

[Expand]
Inherited Fields
From class java.io.FilterInputStream
Public Constructors
CustomCloseableInputStream(InputStream proxy, Effect<InputStream> onClose)
Public Methods
void close()
[Expand]
Inherited Methods
From class org.apache.commons.io.input.ProxyInputStream
From class java.io.FilterInputStream
From class java.io.InputStream
From class java.lang.Object
From interface java.io.Closeable
From interface java.lang.AutoCloseable

Public Constructors

public CustomCloseableInputStream (InputStream proxy, Effect<InputStream> onClose)

Public Methods

public void close ()

Throws
IOException