public class Streams
extends java.lang.Object
Mainly for use within the framework, but also useful for application code.
| Constructor | Description |
|---|---|
Streams() |
| Modifier and Type | Method | Description |
|---|---|---|
static long |
copy(java.io.InputStream in,
java.io.OutputStream out) |
Copy the contents of the given InputStream to the given OutputStream.
|
public static long copy(java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
in - the stream to copy fromout - the stream to copy tojava.io.IOException - in case of I/O errors