Code example for Closeable

Methods: close

0
     * @param closeable The {@link Closeable} to close 
     */ 
    public static void closeQuietly(Closeable closeable) {
        if (closeable != null) {
            try { 
                closeable.close();
                closeable = null;
            } catch (final IOException ignored) {
                // Nothing to do 
            } 
        } 
    } 
 
}