public interface CloseAction
close()
is called on an OutputStreamWithCloseAction
instance, after the
wrapped OutputStream
has been successfully closed.Modifier and Type | Method and Description |
---|---|
void |
run()
This function is executed after the wrapped
OutputStream of
an OutputStreamWithCloseAction has been successfully closed. |
void run() throws java.io.IOException
OutputStream
of
an OutputStreamWithCloseAction
has been successfully closed.java.io.IOException
- If any error prevents this CloseAction
to
run.