|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.erowid.sperowider.modelreporting.LoggingSperowiderModelReporter
Logs to a set of summary files.
| Constructor Summary | |
LoggingSperowiderModelReporter()
|
|
| Method Summary | |
void |
init(Element configNode)
Initializes the location of the files. |
void |
reportInvalidUrlFound(String url,
int httpCode,
String httpMessage)
Logs to SperoLog.DOWNLOAD_INVALIDURL in the format <invalid-url url="" code="" message="" />. |
void |
reportMapUrlToFilename(String url,
String fileName)
Logs to SperoLog.DOWNLOAD_URLMAP in the format <url-map real-url="" file-name="" />. |
void |
reportMapUrlToRealUrl(String url,
String realUrl)
Logs to SperoLog.DOWNLOAD_URLMAP in the format <url-map found-url="" real-url="" />. |
void |
reportUrlFound(String sourceUrl,
String foundUrl,
String queueMessage)
Logs to SperoLog.DOWNLOAD_URLFOUND in the format <url-found source-url="" found-url="" queued="" /> |
void |
reportUrlPoppedFromQueue(String url)
Logs to SperoLog.DOWNLOAD_URLPOPFROMQUEUE in the format <url-queue-pop url="" />. |
void |
start()
Does nothing. |
void |
stop()
Does nothing. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LoggingSperowiderModelReporter()
| Method Detail |
public void reportInvalidUrlFound(String url,
int httpCode,
String httpMessage)
reportInvalidUrlFound in interface ISperowiderModelReporter
public void reportMapUrlToFilename(String url,
String fileName)
reportMapUrlToFilename in interface ISperowiderModelReporter
public void reportMapUrlToRealUrl(String url,
String realUrl)
reportMapUrlToRealUrl in interface ISperowiderModelReporter
public void reportUrlFound(String sourceUrl,
String foundUrl,
String queueMessage)
reportUrlFound in interface ISperowiderModelReporterpublic void reportUrlPoppedFromQueue(String url)
reportUrlPoppedFromQueue in interface ISperowiderModelReporterpublic void start()
start in interface ISperowiderModelReporterpublic void stop()
stop in interface ISperowiderModelReporter
public void init(Element configNode)
throws SperowiderInstantiationException
init in interface IInitializableObjectSperowiderInstantiationException
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||