Package org.scribe.utils
Class StreamUtils
- java.lang.Object
-
- org.scribe.utils.StreamUtils
-
public class StreamUtils extends Object
Utils to deal with Streams.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getStreamContents(InputStream is)
Returns the stream contents as an UTF-8 encoded string
-
-
-
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
-
-