Class IOUtils

java.lang.Object
org.jenkinsci.remoting.util.IOUtils

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class IOUtils extends Object
I/O related utility methods. Included to minimize external dependencies of the remoting library.
Since:
3.0
  • Method Details

    • closeQuietly

      public static void closeQuietly(Closeable closeable)
      Unconditionally close a Closeable.
      Parameters:
      closeable - the object to close, may be null or already closed
      Since:
      3.0