Class Help.CliHelpFormatter
java.lang.Object
org.jrd.backend.data.cli.Help.CliHelpFormatter
- All Implemented Interfaces:
Help.HelpFormatter
- Enclosing class:
Help
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlauncher(boolean verbose) Joins options together with a pipe and surrounds them in parentheses.voidvoidvoidvoidvoidprintOptions(Map<String, String> map) voidvoidvoidvoidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Help.HelpFormatter
indent, launchOptions, printOptions, printUsage
-
Constructor Details
-
CliHelpFormatter
private CliHelpFormatter()
-
-
Method Details
-
printTitle
public void printTitle()- Specified by:
printTitlein interfaceHelp.HelpFormatter
-
printName
public void printName()- Specified by:
printNamein interfaceHelp.HelpFormatter
-
printUsageHeading
public void printUsageHeading()- Specified by:
printUsageHeadingin interfaceHelp.HelpFormatter
-
printOptionsHeading
public void printOptionsHeading()- Specified by:
printOptionsHeadingin interfaceHelp.HelpFormatter
-
printMainOptionsSubheading
public void printMainOptionsSubheading()- Specified by:
printMainOptionsSubheadingin interfaceHelp.HelpFormatter
-
printSavingOptionsSubheading
public void printSavingOptionsSubheading()- Specified by:
printSavingOptionsSubheadingin interfaceHelp.HelpFormatter
-
printOptions
- Specified by:
printOptionsin interfaceHelp.HelpFormatter
-
optionize
Description copied from interface:Help.HelpFormatterJoins options together with a pipe and surrounds them in parentheses.- Specified by:
optionizein interfaceHelp.HelpFormatter- Parameters:
options- String array containing the individual options- Returns:
- String in the format of "(opt1|opt2|...)"
-
savingModifiers
- Specified by:
savingModifiersin interfaceHelp.HelpFormatter
-
launcher
- Specified by:
launcherin interfaceHelp.HelpFormatter
-
printNotesHeading
public void printNotesHeading()- Specified by:
printNotesHeadingin interfaceHelp.HelpFormatter
-
printNotes
public void printNotes()- Specified by:
printNotesin interfaceHelp.HelpFormatter
-