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