Package com.biglybt.ui.console.commands
Class Config
- java.lang.Object
-
- com.biglybt.ui.console.commands.IConsoleCommand
-
- com.biglybt.ui.console.commands.Config
-
public class Config extends IConsoleCommand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.biglybt.ui.console.commands.IConsoleCommand
IConsoleCommand.TorrentComparator
-
-
Field Summary
Fields Modifier and Type Field Description static int
COL_LEN_PARAM_KEY
static int
COL_LEN_PARAMTYPE
static int
COL_LEN_SECTION_KEY
static int
COL_LEN_SECTION_NAME
static java.lang.String
FORMAT_KEY
static java.lang.String
FORMAT_PARAMTYPE
-
Constructor Summary
Constructors Constructor Description Config()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(java.lang.String commandName, ConsoleInput console, java.util.List<java.lang.String> args)
execute the command with the specified name using the specified argumentsjava.lang.String
getCommandDescriptions()
return high-level help about the commands supported by this object.static void
printHelpExtra(java.io.PrintStream out, java.lang.String command, java.util.List<java.lang.String> args)
void
printHelpExtra(java.io.PrintStream out, java.util.List<java.lang.String> args)
private static void
printSection(java.io.PrintStream out, java.lang.String sectionID)
private static void
printSections(java.io.PrintStream out)
private static void
search(java.io.PrintStream out, java.lang.String s, boolean isRegex)
-
Methods inherited from class com.biglybt.ui.console.commands.IConsoleCommand
expandVariable, getCommandName, getCommandNames, getDefaultSummaryFormat, getShortCommandName, getTorrentSummary, printHelp, printHelp
-
-
-
-
Field Detail
-
COL_LEN_SECTION_KEY
public static final int COL_LEN_SECTION_KEY
- See Also:
- Constant Field Values
-
COL_LEN_SECTION_NAME
public static final int COL_LEN_SECTION_NAME
- See Also:
- Constant Field Values
-
COL_LEN_PARAM_KEY
public static final int COL_LEN_PARAM_KEY
- See Also:
- Constant Field Values
-
FORMAT_KEY
public static final java.lang.String FORMAT_KEY
- See Also:
- Constant Field Values
-
COL_LEN_PARAMTYPE
public static final int COL_LEN_PARAMTYPE
- See Also:
- Constant Field Values
-
FORMAT_PARAMTYPE
public static final java.lang.String FORMAT_PARAMTYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute(java.lang.String commandName, ConsoleInput console, java.util.List<java.lang.String> args)
Description copied from class:IConsoleCommand
execute the command with the specified name using the specified arguments- Specified by:
execute
in classIConsoleCommand
-
search
private static void search(java.io.PrintStream out, java.lang.String s, boolean isRegex)
-
printSection
private static void printSection(java.io.PrintStream out, java.lang.String sectionID)
-
printSections
private static void printSections(java.io.PrintStream out)
-
getCommandDescriptions
public java.lang.String getCommandDescriptions()
Description copied from class:IConsoleCommand
return high-level help about the commands supported by this object.- Specified by:
getCommandDescriptions
in classIConsoleCommand
- Returns:
-
printHelpExtra
public void printHelpExtra(java.io.PrintStream out, java.util.List<java.lang.String> args)
- Overrides:
printHelpExtra
in classIConsoleCommand
-
printHelpExtra
public static void printHelpExtra(java.io.PrintStream out, java.lang.String command, java.util.List<java.lang.String> args)
-
-