Class Convert
java.lang.Object
org.eclipse.rdf4j.console.command.ConsoleCommand
org.eclipse.rdf4j.console.command.Convert
Convert RDF file from one format to another
- Author:
- Bart Hanssens
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.console.command.ConsoleCommand
LOGGER
-
Constructor Summary
ConstructorDescriptionConvert
(ConsoleIO consoleIO, ConsoleState state, Map<String, ConsoleSetting> settings) Constructor -
Method Summary
Methods inherited from class org.eclipse.rdf4j.console.command.ConsoleCommand
askProceed, getConsoleIO, getConsoleSettings, getConsoleState, write, writeError, writeError, writeInfo, writeln, writeUnopenedError
-
Constructor Details
-
Convert
Constructor- Parameters:
consoleIO
-state
-settings
-
-
-
Method Details
-
getName
Description copied from interface:Help
Get the name of the command- Returns:
- string
-
getHelpShort
Description copied from class:ConsoleCommand
Get short description, small enough to fit on one console row- Specified by:
getHelpShort
in interfaceHelp
- Overrides:
getHelpShort
in classConsoleCommand
- Returns:
- help string
-
getHelpLong
Description copied from class:ConsoleCommand
Get long description- Specified by:
getHelpLong
in interfaceHelp
- Overrides:
getHelpLong
in classConsoleCommand
- Returns:
- string, can be multiple lines
-
usesSettings
Description copied from interface:Command
Return the names of the settings used.- Specified by:
usesSettings
in interfaceCommand
- Overrides:
usesSettings
in classConsoleCommand
- Returns:
- string array of settings
-
execute
Description copied from interface:Command
Execute the given parameters.- Specified by:
execute
in interfaceCommand
- Overrides:
execute
in classConsoleCommand
- Parameters:
tokens
- parameters typed by user
-