T - The result type.public interface ResourceHandler<T>
| Modifier and Type | Method and Description |
|---|---|
T |
handle(java.io.Closeable closeable)
Handles the resource and returns the result.
|
T handle(java.io.Closeable closeable) throws java.io.IOException
closeable - The closeable resource specified.java.io.IOException - If IO errors occur.