Package org.jenkinsci.remoting.util
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
closeQuietly(Closeable closeable)
Unconditionally close aCloseable
.
-
-
-
Method Detail
-
closeQuietly
public static void closeQuietly(Closeable closeable)
Unconditionally close aCloseable
.- Parameters:
closeable
- the object to close, may be null or already closed- Since:
- 3.0
-
-