org.gcube.application.framework.http.content.access.tools
Class ContentConsumers
java.lang.Object
org.gcube.application.framework.http.content.access.tools.ContentConsumers
public class ContentConsumers
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentConsumers
public ContentConsumers()
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 residesout - the output stream onto which to write the file
- Throws:
IOException
Copyright © 2013. All Rights Reserved.