public class ParserCommands extends CommonCommands
Created by Jeff Gaynor
on 9/25/18 at 10:51 AM
Modifier and Type | Field and Description |
---|---|
protected JFunctorFactory |
functorFactory |
BATCH_FILE_LINE_CONTINUES, BATCH_FILE_MODE_FLAG, BATCH_MODE_FLAG, batchFile, CL_INPUT_FILE_FLAG, CL_OUTPUT_FILE_FLAG, defaultIndent, INDENT, logger, placeHolder
Constructor and Description |
---|
ParserCommands(MyLoggingFacade logger,
JFunctorFactory functorFactory) |
Modifier and Type | Method and Description |
---|---|
void |
clear_file(InputLine inputLine) |
void |
edit(InputLine inputLine) |
protected JFunctorFactory |
getFunctorFactory() |
String |
getPrompt()
The prompt displayed to the user.
|
void |
run(InputLine inputLine) |
void |
set_file(InputLine inputLine) |
void |
show_file(InputLine inputLine) |
protected void |
showClearFileHelp() |
protected void |
showEditHelp() |
protected void |
showRunHelp() |
protected void |
showSetFileHelp() |
protected void |
showShowFileHelp() |
clear_env, clearEnvHelp, debug, echo, echoHelp, error, getBufferedReader, getDriver, getInput, getPlaceHolder, getValue, gracefulExit, info, isBatch, isBatchFile, isBatchMode, isDebugOn, isEmpty, isOk, isPrintOuput, isVerbose, logit, print_env, printEnvHelp, printReadEnvHelp, printSaveEnvHelp, printSetEnvHelp, read_env, readFile, readJSON, readline, save_env, say, say2, sayi, sayi2, sayv, set_env, set_output_on, set_verbose_on, setBatchFile, setBatchMode, setBufferedReader, setDebugOn, setDriver, setOuputOnHelp, setPlaceHolder, setPrintOuput, setVerbose, setVerboseHelp, showHelp, version, versionHelp, warn
protected JFunctorFactory functorFactory
public ParserCommands(MyLoggingFacade logger, JFunctorFactory functorFactory)
public String getPrompt()
Commands
protected void showSetFileHelp()
public void set_file(InputLine inputLine)
protected void showRunHelp()
protected JFunctorFactory getFunctorFactory()
public void run(InputLine inputLine)
public void show_file(InputLine inputLine)
protected void showShowFileHelp()
protected void showEditHelp()
public void edit(InputLine inputLine)
protected void showClearFileHelp()
public void clear_file(InputLine inputLine)
Copyright © 2019. All Rights Reserved.