Class IOUtils

java.lang.Object
org.oscim.utils.IOUtils

public final class IOUtils extends Object
A utility class with IO-specific helper methods.
  • Method Details

    • closeQuietly

      public static void closeQuietly(Closeable closeable)
      Invokes the Closeable.close() method on the given object. If an IOException occurs during the method call, it will be caught and logged.
      Parameters:
      closeable - the data source which should be closed (may be null).
    • closeQuietly

      public static void closeQuietly(Socket closeable)