Class IOExceptionUtils


  • public class IOExceptionUtils
    extends Object
    Utilities for managing I/O resources.
    • Constructor Detail

      • IOExceptionUtils

        public IOExceptionUtils()
    • Method Detail

      • closeQuietly

        public static void closeQuietly​(Closeable closeable)
        Call the close method on a Closeable, wrapping any IOException in a runtime exception.
        Parameters:
        closeable - - resource to close