public class PathArgumentType extends Object implements net.sourceforge.argparse4j.inf.ArgumentType<org.apache.hadoop.fs.Path>
Constructor and Description |
---|
PathArgumentType(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
PathArgumentType |
acceptSystemIn() |
org.apache.hadoop.fs.Path |
convert(net.sourceforge.argparse4j.inf.ArgumentParser parser,
net.sourceforge.argparse4j.inf.Argument arg,
String value) |
PathArgumentType |
verifyCanExecute() |
PathArgumentType |
verifyCanRead() |
PathArgumentType |
verifyCanWrite() |
PathArgumentType |
verifyCanWriteParent() |
PathArgumentType |
verifyExists() |
PathArgumentType |
verifyHasScheme() |
PathArgumentType |
verifyIsAbsolute() |
PathArgumentType |
verifyIsDirectory() |
PathArgumentType |
verifyIsFile() |
PathArgumentType |
verifyNotExists() |
PathArgumentType |
verifyScheme(String scheme) |
public PathArgumentType(org.apache.hadoop.conf.Configuration conf)
public PathArgumentType acceptSystemIn()
public PathArgumentType verifyExists()
public PathArgumentType verifyNotExists()
public PathArgumentType verifyIsFile()
public PathArgumentType verifyIsDirectory()
public PathArgumentType verifyCanRead()
public PathArgumentType verifyCanWrite()
public PathArgumentType verifyCanWriteParent()
public PathArgumentType verifyCanExecute()
public PathArgumentType verifyIsAbsolute()
public PathArgumentType verifyHasScheme()
public PathArgumentType verifyScheme(String scheme)
public org.apache.hadoop.fs.Path convert(net.sourceforge.argparse4j.inf.ArgumentParser parser, net.sourceforge.argparse4j.inf.Argument arg, String value) throws net.sourceforge.argparse4j.inf.ArgumentParserException
convert
in interface net.sourceforge.argparse4j.inf.ArgumentType<org.apache.hadoop.fs.Path>
net.sourceforge.argparse4j.inf.ArgumentParserException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.