Package com.eurodyn.qlack.fuse.cm.util
Class StreamsUtil
java.lang.Object
com.eurodyn.qlack.fuse.cm.util.StreamsUtil
A Util class for the DocumentService class operations.
- Author:
- European Dynamics SA
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStream
createInputStream
(byte[] fileContent) Creates a new instance of the InputStream class.static ZipOutputStream
createZipOutputStream
(ByteArrayOutputStream outStream) Creates a new instance of the ZipOutputStream class.
-
Method Details
-
createZipOutputStream
Creates a new instance of the ZipOutputStream class.- Parameters:
outStream
- the output stream- Returns:
- the ZipOutputStream instance
-
createInputStream
Creates a new instance of the InputStream class.- Parameters:
fileContent
- the byte content- Returns:
- the InputStream instance
-