| Return type | Name and parameters | 
|---|---|
| Object | withCloseable(Closure action)Allows this closeable to be used within the closure, ensuring that it is closed once the closure has been executed and before this method returns. | 
Allows this closeable to be used within the closure, ensuring that it is closed once the closure has been executed and before this method returns.
action -  the closure taking the Closeable as parameter