Package xades4j.utils
Class StreamUtils
java.lang.Object
xades4j.utils.StreamUtils
Utility methods for streams.
- Author:
- Luís
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
readWrite
(InputStream is, OutputStream os) Reads the content of an input stream and writes it into an output stream.
-
Method Details
-
readWrite
Reads the content of an input stream and writes it into an output stream. The copy is made in chunks of 1 KB.- Parameters:
is
- the inputos
- the output- Throws:
IOException
- thrown by theread
andwrite
methods of the streams
-