org.oddjob.util
Class IO
java.lang.Object
org.oddjob.util.IO
public class IO
- extends Object
IO Utilities.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IO
public IO()
copy
public static void copy(InputStream in,
OutputStream out)
throws IOException
- Copy from one stream to another.
- Parameters:
in
- InputStream.out
- OutputStream.
- Throws:
IOException
- If copy fails.
canSerialize
public static boolean canSerialize(Object o)
- Can the object be serialized.
- Parameters:
o
- The object.
- Returns:
- true if it can, false if it can't.