Class StreamUtils

java.lang.Object
org.scribe.utils.StreamUtils

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

    • getStreamContents

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