ahc.io
Class Copy
java.lang.Object
|
+--ahc.io.Copy
- public class Copy
- extends java.lang.Object
This class copies data from a source to a destination, i.e. an InputStream / Reader is read until there
is no more data left, and all data that is read is fed into an OutputStream / Writer.
- Author:
- Arno Haase
Constructor Summary |
Copy()
|
Method Summary |
static void |
copy(java.io.InputStream in,
java.io.OutputStream out)
|
static void |
copy(java.io.Reader in,
java.io.Writer out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copy
public Copy()
copy
public static void copy(java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
java.io.IOException
copy
public static void copy(java.io.Reader in,
java.io.Writer out)
throws java.io.IOException
java.io.IOException