Class FlowableExpressionIOUtils


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

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • FlowableExpressionIOUtils

        public FlowableExpressionIOUtils()
    • Method Detail

      • 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