synergynetframework.utils.network
Class URLFileCache

java.lang.Object
  extended by synergynetframework.utils.network.URLFileCache

public class URLFileCache
extends java.lang.Object

The Class URLFileCache.


Constructor Summary
URLFileCache()
          Instantiates a new URL file cache.
 
Method Summary
 java.io.File download(java.net.URL url)
          Download.
 void download(java.net.URL url, DownloadListener listener)
          Download.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLFileCache

public URLFileCache()
Instantiates a new URL file cache.

Method Detail

download

public java.io.File download(java.net.URL url)
Download.

Parameters:
url - the url
Returns:
the file

download

public void download(java.net.URL url,
                     DownloadListener listener)
Download.

Parameters:
url - the url
listener - the listener