public class IO
extends java.lang.Object
Constructor and Description |
---|
IO() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canSerialize(java.lang.Object o)
Can the object be serialized.
|
static void |
copy(java.io.InputStream in,
java.io.OutputStream out)
Copy from one stream to another.
|
public static void copy(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException
in
- InputStream.out
- OutputStream.java.io.IOException
- If copy fails.public static boolean canSerialize(java.lang.Object o)
o
- The object.