|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.firstpartners.rp.back.extractor.GenericDataExtractor
net.firstpartners.rp.back.extractor.WebDataExtractor
public class WebDataExtractor
Extracts information Query (like google)
| Field Summary | |
|---|---|
protected org.apache.log4j.Logger |
logger
Logger for this class and subclasses |
| Constructor Summary | |
|---|---|
WebDataExtractor()
|
|
| Method Summary | |
|---|---|
int |
canHandle(INewInformation info)
How well the plugin thinks it can handle a new piece of information |
void |
convert(INewInformation info)
Convert the web information into a list of documents |
java.lang.String |
getOriginalUri()
The original place where we got this data |
void |
onLoad()
Carry out any initiation tasks |
| Methods inherited from class net.firstpartners.rp.back.extractor.GenericDataExtractor |
|---|
getListExtensions, getMaxLengthSummary, getMinLengthWord, getNotIgnoreChars, getReplaceChars, getType, setListExtensions, setMaxLengthSummary, setMinLengthWord, setNotIgnoreChars, setReplaceChars, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public WebDataExtractor()
| Method Detail |
|---|
public java.lang.String getOriginalUri()
getOriginalUri in interface IDataExtractorgetOriginalUri in class GenericDataExtractorpublic void onLoad()
onLoad in interface IPluginonLoad in class GenericDataExtractorpublic int canHandle(INewInformation info)
canHandle in interface IDataExtractorcanHandle in class GenericDataExtractorinfo -
public void convert(INewInformation info)
throws RpException
convert in interface IDataExtractorconvert in class GenericDataExtractorinfo - Information to be converted
RpException - If an error occur in processing the data
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||