oauthP5.oauth
Class StreamUtils

java.lang.Object
  extended by oauthP5.oauth.StreamUtils

public class StreamUtils
extends Object

Utils to deal with Streams.

Author:
Pablo Fernandez

Constructor Summary
StreamUtils()
           
 
Method Summary
static String getStreamContents(InputStream is)
          Returns the stream contents as an UTF-8 encoded string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamUtils

public StreamUtils()
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


Processing library oauthP5 by New York Times R&D Lab. (c) 2012