Class CloseableUtil

    • Constructor Summary

      Constructors 
      Constructor Description
      CloseableUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void maybeClose​(java.io.Closeable closable)  
      static void maybeClose​(java.io.Closeable closable, java.util.logging.Logger logger)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • maybeClose

        public static void maybeClose​(java.io.Closeable closable)
      • maybeClose

        public static void maybeClose​(java.io.Closeable closable,
                                      java.util.logging.Logger logger)