Class StreamUtils


  • public class StreamUtils
    extends Object
    Utils to deal with Streams.
    • Method Detail

      • getStreamContents

        public static String getStreamContents​(InputStream is)
        Returns the stream contents as an UTF-8 encoded string
        Parameters:
        is - input stream
        Returns:
        string contents