|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.violations.util.CloseUtil
public final class CloseUtil
A utility class to close closables.
| Method Summary | |
|---|---|
static void |
close(java.io.Closeable closable)
Close a closable ignoring exceptions. |
static void |
close(java.io.Closeable closable,
boolean ignore)
Close a closable - optional ignoring exceptions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void close(java.io.Closeable closable,
boolean ignore)
throws java.io.IOException
closable - the closable to close.ignore - if true do not throw an exception if there
is one.
java.io.IOException - if there is a problem closing the closable.public static void close(java.io.Closeable closable)
closable - the closable to close.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||