|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.harvester.harvesting.HeritrixLauncher dk.netarkivet.harvester.harvesting.controller.DefaultHeritrixLauncher
public class DefaultHeritrixLauncher
Default implementation of the crawl control.
Field Summary | |
---|---|
(package private) org.apache.commons.logging.Log |
log
The class logger. |
Fields inherited from class dk.netarkivet.harvester.harvesting.HeritrixLauncher |
---|
CRAWL_CONTROL_WAIT_PERIOD |
Method Summary | |
---|---|
void |
doCrawl()
This method launches heritrix in the following way: 1. |
static DefaultHeritrixLauncher |
getInstance(HeritrixFiles files)
Get instance of this class. |
Methods inherited from class dk.netarkivet.harvester.harvesting.HeritrixLauncher |
---|
getControllerArguments, getHeritrixFiles, getJMSConnection, isDeduplicationEnabledInTemplate, setupOrderfile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final org.apache.commons.logging.Log log
Method Detail |
---|
public static DefaultHeritrixLauncher getInstance(HeritrixFiles files) throws ArgumentNotValid
files
- Object encapsulating location of Heritrix crawldir and
configuration files
DefaultHeritrixLauncher
object
ArgumentNotValid
- If either order.xml or seeds.txt does not exist,
or argument files is null.public void doCrawl() throws IOFailure
doCrawl
in class HeritrixLauncher
IOFailure
- - if the order.xml is invalid if unable to initialize
Heritrix CrawlController if Heritrix process
interrupted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |