Class FlowableExpressionIOUtils

java.lang.Object
com.flowable.platform.expressions.FlowableExpressionIOUtils

public class FlowableExpressionIOUtils
extends java.lang.Object
Provides utilities to work with I/O.
Author:
Valentin Rentschler
  • Constructor Summary

    Constructors 
    Constructor Description
    FlowableExpressionIOUtils()  
  • Method Summary

    Modifier and Type Method Description
    byte[] streamToByteArray​(java.io.InputStream inputStream)
    Takes a stream and turns it into a byte array

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • streamToByteArray

      public byte[] streamToByteArray​(java.io.InputStream inputStream) throws java.io.IOException
      Takes a stream and turns it into a byte array
      Parameters:
      inputStream - The input stream, non null. Will be closed after the bytes have been read
      Returns:
      a byte array
      Throws:
      java.io.IOException