is_closing


Description:

[ Version ( since = "2.24" ) ]
public bool is_closing ()

Checks if an output stream is being closed.

This can be used inside e.g. a flush implementation to see if the flush (or other i/o operation) is called from within the closing operation.

Parameters:

this

a OutputStream.

Returns:

true if this is being closed. false otherwise.