|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDataExtractor
A source of information that we want to extract and add to the knowledgebase (web content , local content etc)
| Method Summary | |
|---|---|
int |
canHandle(INewInformation newInfo)
How well the plugin thinks it can handle a new piece of information |
void |
convert(INewInformation info)
Convert the specified information into Tuples/Node and and store it in the specified model |
java.lang.String[] |
getListExtensions()
List of the supported extensions |
java.lang.String |
getOriginalUri()
The original place where we got this data |
java.lang.String |
getType()
The type of the extractor |
| Methods inherited from interface net.firstpartners.rp.plugins.IPlugin |
|---|
onLoad |
| Method Detail |
|---|
java.lang.String getType()
java.lang.String[] getListExtensions()
java.lang.String getOriginalUri()
int canHandle(INewInformation newInfo)
newInfo -
void convert(INewInformation info)
throws RpException
info - The new information to be converted
RpException - RpException will be thrown in case the data cann't
be converted
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||