public static class AbstractRestHeritrixController.LaunchResultHandler extends Object implements org.netarchivesuite.heritrix3wrapper.LaunchResultHandlerAbstract
Modifier and Type | Field and Description |
---|---|
protected PrintWriter |
errorPrinter |
protected PrintWriter |
outputPrinter |
protected Semaphore |
semaphore |
Constructor and Description |
---|
LaunchResultHandler(PrintWriter outputPrinter,
PrintWriter errorPrinter) |
Modifier and Type | Method and Description |
---|---|
void |
closeError() |
void |
closeOutput() |
void |
error(String line) |
void |
exitValue(int exitValue) |
void |
output(String line) |
protected PrintWriter outputPrinter
protected PrintWriter errorPrinter
public LaunchResultHandler(PrintWriter outputPrinter, PrintWriter errorPrinter)
public void exitValue(int exitValue)
exitValue
in interface org.netarchivesuite.heritrix3wrapper.LaunchResultHandlerAbstract
public void output(String line)
output
in interface org.netarchivesuite.heritrix3wrapper.LaunchResultHandlerAbstract
public void closeOutput()
closeOutput
in interface org.netarchivesuite.heritrix3wrapper.LaunchResultHandlerAbstract
public void error(String line)
error
in interface org.netarchivesuite.heritrix3wrapper.LaunchResultHandlerAbstract
public void closeError()
closeError
in interface org.netarchivesuite.heritrix3wrapper.LaunchResultHandlerAbstract
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.