org.jajuk.util
Class DownloadManager

java.lang.Object
  extended by org.jajuk.util.DownloadManager

public class DownloadManager
extends java.lang.Object

Manages network downloads


Constructor Summary
DownloadManager()
           
 
Method Summary
static java.lang.String getExtension(java.net.URL f)
          Returns the extension of file denoted by given URL.
static java.util.List<java.net.URL> getRemoteCoversList(java.lang.String search)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadManager

public DownloadManager()
Method Detail

getRemoteCoversList

public static java.util.List<java.net.URL> getRemoteCoversList(java.lang.String search)
                                                        throws java.io.IOException
Parameters:
search -
Returns:
a list of urls
Throws:
java.io.IOException

getExtension

public static java.lang.String getExtension(java.net.URL f)
Returns the extension of file denoted by given URL.

Parameters:
f - the url
Returns:
the extension


Copyright © 2007-2009. All Rights Reserved.