|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface WebFetcher.Listener
Listener for incoming web data.
Method Summary | |
---|---|
void |
onWebData(java.net.URL url,
java.lang.Object obj,
long date)
This method is invoked when a data item is retrieved from one of the URLs we were invoked on. |
void |
onWebDone()
This method is invoked when the URLs have been fully fetched. |
void |
onWebError(java.lang.String msg)
This method is invoked if an error occurs when fetching web data. |
Method Detail |
---|
void onWebData(java.net.URL url, java.lang.Object obj, long date)
url
- The URL that this record came from.obj
- The object that was loaded; the type
depends on the fetcher class used.date
- The last modified time of the source file,
as reported by the server, in ms UTC.void onWebDone()
void onWebError(java.lang.String msg)
msg
- The error message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |