public class HttpDownloaderParser
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
edu.sysu.pmglab.commandParser.CommandOption<?> |
help |
static org.slf4j.Logger |
logger |
edu.sysu.pmglab.commandParser.CommandOption<?> |
noAutoRetry |
edu.sysu.pmglab.commandParser.CommandOption<edu.sysu.pmglab.container.File> |
output |
edu.sysu.pmglab.commandParser.CommandOption<?> |
overwrite |
edu.sysu.pmglab.commandParser.CommandOption<java.lang.String> |
proxy |
edu.sysu.pmglab.commandParser.CommandOption<edu.sysu.pmglab.container.File> |
tempDir |
edu.sysu.pmglab.commandParser.CommandOption<java.lang.Integer> |
threads |
edu.sysu.pmglab.commandParser.CommandOption<java.lang.Integer> |
timeout |
限定符和类型 | 方法和说明 |
---|---|
edu.sysu.pmglab.commandParser.CommandOptions |
getOptions() |
static edu.sysu.pmglab.commandParser.CommandParser |
getParser() |
static void |
main(java.lang.String[] args) |
static HttpDownloaderParser |
parse(edu.sysu.pmglab.container.File argsFile) |
static HttpDownloaderParser |
parse(java.lang.String... args) |
static java.lang.String |
usage() |
public static final org.slf4j.Logger logger
public final edu.sysu.pmglab.commandParser.CommandOption<?> help
public final edu.sysu.pmglab.commandParser.CommandOption<edu.sysu.pmglab.container.File> output
public final edu.sysu.pmglab.commandParser.CommandOption<edu.sysu.pmglab.container.File> tempDir
public final edu.sysu.pmglab.commandParser.CommandOption<java.lang.Integer> threads
public final edu.sysu.pmglab.commandParser.CommandOption<?> overwrite
public final edu.sysu.pmglab.commandParser.CommandOption<java.lang.String> proxy
public final edu.sysu.pmglab.commandParser.CommandOption<java.lang.Integer> timeout
public final edu.sysu.pmglab.commandParser.CommandOption<?> noAutoRetry
public static HttpDownloaderParser parse(java.lang.String... args)
public static HttpDownloaderParser parse(edu.sysu.pmglab.container.File argsFile) throws java.io.IOException
java.io.IOException
public static edu.sysu.pmglab.commandParser.CommandParser getParser()
public static java.lang.String usage()
public edu.sysu.pmglab.commandParser.CommandOptions getOptions()
public static void main(java.lang.String[] args)