public class ContentConsumers extends Object
| Constructor and Description |
|---|
ContentConsumers() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHTMLContent(String url) |
static void |
getRawContent(String url,
OutputStream out) |
public static String getHTMLContent(String url) throws IOException
IOExceptionpublic static void getRawContent(String url, OutputStream out) throws IOException
url - the path to where the file residesout - the output stream onto which to write the fileIOExceptionCopyright © 2016. All Rights Reserved.