public abstract class AbstractChecker extends Configured implements Tool
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
keepClientCnxOpen |
protected boolean |
stdin |
protected int |
tcpPort |
protected String |
usage |
| Constructor and Description |
|---|
AbstractChecker() |
| Modifier and Type | Method and Description |
|---|---|
protected ProtocolOutput |
getProtocolOutput(String url,
CrawlDatum datum,
boolean checkRobotsTxt) |
protected int |
parseArgs(String[] args,
int i) |
protected abstract int |
process(String line,
StringBuilder output) |
protected int |
processSingle(String input) |
protected int |
processStdin() |
protected void |
processTCP(int tcpPort) |
protected int |
run() |
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfprotected boolean keepClientCnxOpen
protected int tcpPort
protected boolean stdin
protected String usage
protected abstract int process(String line, StringBuilder output) throws Exception
Exceptionprotected int parseArgs(String[] args, int i)
protected ProtocolOutput getProtocolOutput(String url, CrawlDatum datum, boolean checkRobotsTxt) throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation