Class AutoCloseableUtil

java.lang.Object
com.github.tadukoo.util.AutoCloseableUtil

public final class AutoCloseableUtil extends Object
Util functions for dealing with AutoCloseables.
Version:
0.1-Alpha-SNAPSHOT
Author:
Logan Ferree (Tadukoo)
  • Constructor Details

    • AutoCloseableUtil

      private AutoCloseableUtil()
      Not allowed to create an AutoCloseableUtil
  • Method Details

    • closeQuietly

      public static void closeQuietly(AutoCloseable autoCloseable)
      Closes the given AutoCloseable while suppressing any error messages
      Parameters:
      autoCloseable - The AutoCloseable to close