|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.japtproxy.fetcher.FetcherFtp
public class FetcherFtp
The FetcherFtp is responsible for fetching files from ftp resources.
| Constructor Summary | |
|---|---|
FetcherFtp()
|
|
| Method Summary | |
|---|---|
FetchedResourceFtp |
fetch(java.net.URL targetResource,
long lastModified)
Fetches an external resource. |
void |
setDataTimeout(int dataTimeout)
|
void |
setSocketTimeout(int socketTimeout)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FetcherFtp()
| Method Detail |
|---|
public void setSocketTimeout(int socketTimeout)
public void setDataTimeout(int dataTimeout)
public FetchedResourceFtp fetch(java.net.URL targetResource,
long lastModified)
throws java.io.IOException,
ResourceUnavailableException
fetch in interface FetchertargetResource - the resource to fetch.lastModified - the lastModified timestamp of the local object.
java.io.IOException - is thrown if the fetch fails.
ResourceUnavailableException - is thrown if the resource was not
found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||