public class CmdArgs extends PMap
| Constructor and Description |
|---|
CmdArgs() |
CmdArgs(Map<String,String> map) |
| Modifier and Type | Method and Description |
|---|---|
CmdArgs |
put(String key,
Object str) |
static CmdArgs |
read(String[] args)
This method creates a CmdArgs object from the specified string array (a list of key=value pairs).
|
static CmdArgs |
readFromConfig(String fileStr,
String systemProperty) |
static CmdArgs |
readFromConfigAndMerge(CmdArgs args,
String configKey,
String configSysAttr)
Command line configuration overwrites the ones in the config file.
|
public static CmdArgs readFromConfig(String fileStr, String systemProperty) throws IOException
fileStr - the file name of config.propertiessystemProperty - the property name of the configuration. E.g. -Dgraphhopper.configIOExceptionpublic static CmdArgs read(String[] args)
public static CmdArgs readFromConfigAndMerge(CmdArgs args, String configKey, String configSysAttr)
Copyright © 2012–2018. All rights reserved.