xades4j.utils
Class StreamUtils
java.lang.Object
xades4j.utils.StreamUtils
public class StreamUtils
- extends Object
Utility methods for streams.
- Author:
- Luís
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readWrite
public static void readWrite(InputStream is,
OutputStream os)
throws IOException
- Reads the content of an input stream and writes it into an output stream.
The copy is made in chunks of 512 bytes.
- Parameters:
is - the inputos - the output
- Throws:
IOException - thrown by the read and write methods of the streams
Copyright © 2012. All Rights Reserved.