Class StreamsUtil

java.lang.Object
com.eurodyn.qlack.fuse.cm.util.StreamsUtil

public class StreamsUtil extends Object
A Util class for the DocumentService class operations.
Author:
European Dynamics SA
  • Method Details

    • createZipOutputStream

      public static ZipOutputStream createZipOutputStream(ByteArrayOutputStream outStream)
      Creates a new instance of the ZipOutputStream class.
      Parameters:
      outStream - the output stream
      Returns:
      the ZipOutputStream instance
    • createInputStream

      public static InputStream createInputStream(byte[] fileContent)
      Creates a new instance of the InputStream class.
      Parameters:
      fileContent - the byte content
      Returns:
      the InputStream instance