Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Static Public Member Functions | List of all members
CASUAL.network.HttpPost Class Reference

Static Public Member Functions

static String postString (String s, String url) throws IOException
 
static String postFile (File f, String url) throws FileNotFoundException, IOException
 
static InputStream convertStringToStream (String input)
 
static String convertStreamToString (java.io.InputStream is)
 
static String postString (String s, String url) throws IOException
 
static String postFile (File f, String url) throws FileNotFoundException, IOException
 
static InputStream convertStringToStream (String input)
 
static String convertStreamToString (java.io.InputStream is)
 

Detailed Description

Author
adamoutler

Member Function Documentation

static String CASUAL.network.HttpPost.convertStreamToString ( java.io.InputStream  is)
static

reads a stream and returns a string

Parameters
isstream to read
Returns
stream converted to string
static String CASUAL.network.HttpPost.convertStreamToString ( java.io.InputStream  is)
static

reads a stream and returns a string

Parameters
isstream to read
Returns
stream converted to string
static InputStream CASUAL.network.HttpPost.convertStringToStream ( String  input)
static

converts a String to an InputStream

Parameters
inputstring to turn into an InputStream
Returns
InputStream representation of the input string.
static InputStream CASUAL.network.HttpPost.convertStringToStream ( String  input)
static

converts a String to an InputStream

Parameters
inputstring to turn into an InputStream
Returns
InputStream representation of the input string.

The documentation for this class was generated from the following file: