Class Load
- java.lang.Object
-
- org.eclipse.rdf4j.console.command.ConsoleCommand
-
- org.eclipse.rdf4j.console.command.Load
-
public class Load extends ConsoleCommand
Load command- Author:
- Dale Visser
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.console.command.ConsoleCommand
LOGGER
-
-
Constructor Summary
Constructors Constructor Description Load(ConsoleIO consoleIO, ConsoleState state, Map<String,ConsoleSetting> settings)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(String... tokens)Execute the given parameters.StringgetHelpLong()Get long descriptionStringgetHelpShort()Get short description, small enough to fit on one console rowStringgetName()Get the name of the commandString[]usesSettings()Return the names of the settings used.-
Methods inherited from class org.eclipse.rdf4j.console.command.ConsoleCommand
askProceed, getConsoleIO, getConsoleSettings, getConsoleState, write, writeError, writeError, writeInfo, writeln, writeUnopenedError
-
-
-
-
Constructor Detail
-
Load
public Load(ConsoleIO consoleIO, ConsoleState state, Map<String,ConsoleSetting> settings)
Constructor- Parameters:
consoleIO-state-settings-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:HelpGet the name of the command- Returns:
- string
-
getHelpShort
public String getHelpShort()
Description copied from class:ConsoleCommandGet short description, small enough to fit on one console row- Specified by:
getHelpShortin interfaceHelp- Overrides:
getHelpShortin classConsoleCommand- Returns:
- help string
-
getHelpLong
public String getHelpLong()
Description copied from class:ConsoleCommandGet long description- Specified by:
getHelpLongin interfaceHelp- Overrides:
getHelpLongin classConsoleCommand- Returns:
- string, can be multiple lines
-
usesSettings
public String[] usesSettings()
Description copied from interface:CommandReturn the names of the settings used.- Specified by:
usesSettingsin interfaceCommand- Overrides:
usesSettingsin classConsoleCommand- Returns:
- string array of settings
-
-