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
Modifier and TypeMethodDescriptionstatic void
closeQuietly
(Closeable closeable) Unconditionally close aCloseable
.
-
Method Details
-
closeQuietly
Unconditionally close aCloseable
.- Parameters:
closeable
- the object to close, may be null or already closed- Since:
- 3.0
-