Class ByteArrayOutputStreamUtil

java.lang.Object
com.eurodyn.qlack.fuse.fileupload.util.ByteArrayOutputStreamUtil

public class ByteArrayOutputStreamUtil extends Object
A Util class for the FileUpload implementation operations.
Author:
European Dynamics SA
  • Method Details

    • createByteArrayOutputStream

      public static ByteArrayOutputStream createByteArrayOutputStream(long fileSize)
      Creates a new instance of the ByteArrayOutputStream class for getting the content of a file.
      Parameters:
      fileSize - the expected size of the file
      Returns:
      the ByteArrayOutputStream instance