This is a simple class that contains all needed features for JoBo
(the web robot, the download rules, RegExpUrlCheck ...)
author: Daniel Matuschek version: $Revision: 1.21 $
Unmarshall the object from an XML file (jobo.xml) in the current
directory
exception: ClassNotFoundException - if the Robot could not be instantiatedfor some reason
Unmarshall the object from an XML file
Parameters: configDirectory - name of the directory where jobo.xml andmapping.xml should be read from. exception: ClassNotFoundException - if the Robot could not be instantiatedfor some reason
Set the value of robot. The new Robot will use the
filter that are defined in JoBoBase, even if he had
its own FilterChain before.
Parameters: robot - WebRobot object to use
setStorageDirectory
public void setStorageDirectory(String storageDirectory)(Code)
Set the value of storageDirectory.
Parameters: v - Value to assign to storageDirectory.
Enable/disable storing of dynamic documents (with an "?"
somewhere in the URL
Parameters: v - true: enable storing of all documents, false: store only documents with an URL without "?"