Class ConsoleWidth
java.lang.Object
org.eclipse.rdf4j.console.setting.ConsoleSetting<Integer>
org.eclipse.rdf4j.console.setting.ConsoleWidth
Console value setting
- Author:
- Bart Hanssens
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructor Default width is 80.ConsoleWidth
(Integer initValue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet long descriptiongetName()
Get the name of the commandvoid
Set the value for this settingvoid
setFromString
(String value) Set the value for this setting from a stringMethods inherited from class org.eclipse.rdf4j.console.setting.ConsoleSetting
clear, get, getAsString, getHelpShort, getInitValue, getType
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ConsoleWidth
public ConsoleWidth()Constructor Default width is 80. -
ConsoleWidth
Constructor- Parameters:
initValue
-
-
-
Method Details
-
getHelpLong
Description copied from class:ConsoleSetting
Get long description- Specified by:
getHelpLong
in interfaceHelp
- Overrides:
getHelpLong
in classConsoleSetting<Integer>
- Returns:
- string, can be multiple lines
-
getName
Description copied from interface:Help
Get the name of the command- Returns:
- string
-
set
Description copied from interface:Setting
Set the value for this setting- Specified by:
set
in interfaceSetting<Integer>
- Overrides:
set
in classConsoleSetting<Integer>
- Throws:
IllegalArgumentException
-
setFromString
Description copied from class:ConsoleSetting
Set the value for this setting from a string- Specified by:
setFromString
in classConsoleSetting<Integer>
- Parameters:
value
- string value- Throws:
IllegalArgumentException
-