org.gcube.application.framework.http.content.access.tools
Class ContentConsumers

java.lang.Object
  extended by org.gcube.application.framework.http.content.access.tools.ContentConsumers

public class ContentConsumers
extends Object


Constructor Summary
ContentConsumers()
           
 
Method Summary
static String getHTMLContent(String url)
           
static void getRawContent(String url, OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentConsumers

public ContentConsumers()
Method Detail

getHTMLContent

public static String getHTMLContent(String url)
                             throws IOException
Throws:
IOException

getRawContent

public static void getRawContent(String url,
                                 OutputStream out)
                          throws IOException
Parameters:
url - the path to where the file resides
out - the output stream onto which to write the file
Throws:
IOException


Copyright © 2013. All Rights Reserved.