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, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
protected boolean keepClientCnxOpen
protected int tcpPort
protected boolean stdin
protected String usage
protected abstract int process(String line, StringBuilder output) throws Exception
Exception
protected int parseArgs(String[] args, int i)
protected ProtocolOutput getProtocolOutput(String url, CrawlDatum datum, boolean checkRobotsTxt) throws Exception
Exception
Copyright © 2021 The Apache Software Foundation