Class Prefixes
java.lang.Object
org.eclipse.rdf4j.console.setting.ConsoleSetting<Set<Namespace>>
org.eclipse.rdf4j.console.setting.Prefixes
Namespace prefix setting
- Author:
- Bart Hanssens
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clear settingGet the value for this setting as a stringGet long descriptiongetName()
Get the name of the commandvoid
setFromString
(String value) Set the value for this setting from a stringMethods inherited from class org.eclipse.rdf4j.console.setting.ConsoleSetting
get, getHelpShort, getInitValue, getType, set
-
Field Details
-
NAME
- See Also:
-
DEFAULT
-
-
Constructor Details
-
Prefixes
public Prefixes()Constructor Default set of namespaces are well-known ones -
Prefixes
Constructor- Parameters:
initValue
-
-
-
Method Details
-
getHelpLong
Description copied from class:ConsoleSetting
Get long description- Specified by:
getHelpLong
in interfaceHelp
- Overrides:
getHelpLong
in classConsoleSetting<Set<Namespace>>
- Returns:
- string, can be multiple lines
-
getName
Description copied from interface:Help
Get the name of the command- Returns:
- string
-
clear
public void clear()Description copied from interface:Setting
Clear setting -
getAsString
Description copied from class:ConsoleSetting
Get the value for this setting as a string- Overrides:
getAsString
in classConsoleSetting<Set<Namespace>>
- Returns:
- string value
-
setFromString
Description copied from class:ConsoleSetting
Set the value for this setting from a string- Specified by:
setFromString
in classConsoleSetting<Set<Namespace>>
- Parameters:
value
- string value- Throws:
IllegalArgumentException
-