Class WorkDir
- java.lang.Object
-
- org.eclipse.rdf4j.console.setting.ConsoleSetting<Path>
-
- org.eclipse.rdf4j.console.setting.WorkDir
-
public class WorkDir extends ConsoleSetting<Path>
Working directory setting- Author:
- Bart Hanssens
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHelpLong()Get long descriptionStringgetName()Get the name of the commandvoidset(Path value)Set the value for this settingvoidsetFromString(String value)Set the value for this setting from a string-
Methods inherited from class org.eclipse.rdf4j.console.setting.ConsoleSetting
clear, get, getAsString, getHelpShort, getInitValue, getType
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WorkDir
public WorkDir()
Constructor Default dir is system property user.dir (= current directory)
-
WorkDir
public WorkDir(Path initValue)
Constructor- Parameters:
initValue-
-
-
Method Detail
-
getHelpLong
public String getHelpLong()
Description copied from class:ConsoleSettingGet long description- Specified by:
getHelpLongin interfaceHelp- Overrides:
getHelpLongin classConsoleSetting<Path>- Returns:
- string, can be multiple lines
-
getName
public String getName()
Description copied from interface:HelpGet the name of the command- Returns:
- string
-
set
public void set(Path value) throws IllegalArgumentException
Description copied from interface:SettingSet the value for this setting- Specified by:
setin interfaceSetting<Path>- Overrides:
setin classConsoleSetting<Path>- Throws:
IllegalArgumentException
-
setFromString
public void setFromString(String value) throws IllegalArgumentException
Description copied from class:ConsoleSettingSet the value for this setting from a string- Specified by:
setFromStringin classConsoleSetting<Path>- Parameters:
value- string value- Throws:
IllegalArgumentException
-
-