com.clickntap.utils
Class URLUtils

java.lang.Object
  extended by com.clickntap.utils.URLUtils

public class URLUtils
extends Object


Constructor Summary
URLUtils()
           
 
Method Summary
static void download(String url, File file)
           
static String getSource(String url)
           
static String getSource(String url, String charsetName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLUtils

public URLUtils()
Method Detail

getSource

public static String getSource(String url,
                               String charsetName)
                        throws Exception
Throws:
Exception

download

public static void download(String url,
                            File file)
                     throws Exception
Throws:
Exception

getSource

public static String getSource(String url)
                        throws Exception
Throws:
Exception


Copyright © 2014. All rights reserved.