|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rabbit.client.sample.WGet
public class WGet
A class to download a set of resources. Given a set of urls this class will download all of them concurrently using a standard ClientBase. This is mostly an example of how to use the rabbit client classes.
Constructor Summary | |
---|---|
WGet()
Create a new WGet that can be used to download resources. |
Method Summary | |
---|---|
void |
get(String url)
Add an url to the set of urls to be downloaded |
void |
get(String[] urls)
Add a set of urls to download. |
static void |
main(String[] args)
Download all urls given in the args arrays. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WGet() throws IOException
IOException
Method Detail |
---|
public static void main(String[] args)
public void get(String[] urls) throws IOException
IOException
public void get(String url) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |