|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gridsystems.innergrid.api.IOUtils
public final class IOUtils
Utility class for input-output operations.
| Method Summary | |
|---|---|
static void |
close(java.io.Closeable c)
Closes a Closeable instance without throwing exceptions. |
static void |
close(java.lang.Object o)
Closes an instance of an object that does not implement the Closeable interface, without throwing exceptions. |
static void |
delete(javax.activation.DataHandler dh)
Deletes the temporal file associated to the specified attachment, if it has one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void delete(javax.activation.DataHandler dh)
The current implementation only supports ManagedMemoryDataSources.
dh - The data handler to processpublic static void close(java.io.Closeable c)
c - The instance to closepublic static void close(java.lang.Object o)
o - The object to close
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||