fc.util
Class NetUtil

java.lang.Object
  extended by fc.util.NetUtil

public final class NetUtil
extends Object

Network related utils (including HTTP) (the servlet/WebUtil class is for servlet specific utils)


Constructor Summary
NetUtil()
           
 
Method Summary
static void downloadAndSaveImage(File output, String url)
           
static void main(String[] args)
           
static boolean resourceExists(String url)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetUtil

public NetUtil()
Method Detail

downloadAndSaveImage

public static void downloadAndSaveImage(File output,
                                        String url)
                                 throws IOException
Throws:
IOException

resourceExists

public static boolean resourceExists(String url)

main

public static void main(String[] args)