|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object scone.Plugin scone.examples.rueckspiegel.RueckspiegelPlugin
public class RueckspiegelPlugin
Rueckspiegel-Plugin for Scone
This Scone-Plugin uses the ability of the search-engine google to search for documents with links to a specified document. Each time a new document is displayed in the browser google is asked for incoming links. These document are retrieved in the background and displayed as thumbnail images.
ATTENTION! Google disallows the usage of its Web interface for robots.
Therefore we strongly, discourage from the usage of this plugin! If you use it, it is on your own risk and responsibility!
Field Summary |
---|
Fields inherited from class scone.Plugin |
---|
ACCESSTRACKING, ACCESSTRACKING2, ADDPREAMBLE, CALCFINGERPRINT, CONSIDERINCLUSIONS, CONSIDERKEYWORDS, CONSIDERLINKS, COPYRIGHT, DECENT_HOST_CONDITION, HTDOCCONDITION, NO_HTDOCCONDITION, NOCACHE, NOREQUIREMENTS, PAGETIMEOUT, PARSEDOCUMENT, POSTDATA, RAS, RESOURCEGENERATOR, SAVEBODYTEXT, SAVESOURCECODE, USEPARSINGMEG |
Constructor Summary | |
---|---|
RueckspiegelPlugin()
Default Constructor. |
Method Summary | |
---|---|
int |
getRequirements()
Scone requirements: Documents are parsed, Accessing is logged and Links and Incousions are considered... |
void |
init()
Setup Rueckspiegel |
void |
robotNewPage(RobotHtmlNode robotHtmlNode,
RobotTask robotTask)
The robot calls this method for every new document If it's not the Google result page the new thumbnail is added to the drawingArea. |
void |
robotTaskFinished(RobotTask robotTask)
This method is called by the robot, if the task was completely finished |
void |
update(java.util.Observable o,
java.lang.Object arg)
An Access-event occured: Clean Drawingarea and restart Robot. |
Methods inherited from class scone.Plugin |
---|
addMeg, disable, displayConfigGUI, displayConfigGUI, enable, getProperties, getRasPort, init, saveProperties, terminate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RueckspiegelPlugin()
Method Detail |
---|
public int getRequirements()
getRequirements
in class Plugin
public void init()
init
in class Plugin
public void update(java.util.Observable o, java.lang.Object arg)
update
in interface java.util.Observer
public void robotNewPage(RobotHtmlNode robotHtmlNode, RobotTask robotTask)
robotNewPage
in interface RobotUser
robotHtmlNode
- the new htmlNode with some properties set by the robotrobotTask
- identifies the task which causes the robot to download robotHtmlNode.public void robotTaskFinished(RobotTask robotTask)
robotTaskFinished
in interface RobotUser
robotTask
- the robot finished this task
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |