lucee.Component
commandbox.system.util.ReaderFactory
Copyright Since 2014 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com The logic to create the console reader was hairy enough I've refactored it out into its own file.
| Property Summary | ||||
|---|---|---|---|---|
| type | property | default | serializable | required |
any
|
CommandCompletor
|
true
|
false
|
|
any
|
CommandHighlighter
|
true
|
false
|
|
any
|
commandHistoryFile
|
true
|
false
|
|
any
|
CommandParser
|
true
|
false
|
|
any
|
homedir
|
true
|
false
|
|
any
|
REPLScriptHistoryFile
|
true
|
false
|
|
any
|
REPLTagHistoryFile
|
true
|
false
|
|
any
|
SignalHandler
|
true
|
false
|
|
any
|
systemSettings
|
true
|
false
|
|
| Method Summary | |
|---|---|
any
|
getInstance([any inStream], [any outputStream])
Build a jline console reader instance. |
private any
|
upgradeHistoryFile(string historyFile)
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Property Detail |
|---|
access - publicrequired - falsereturntype - anyinject - CommandCompletorserializable - trueaccess - publicrequired - falsereturntype - anyinject - CommandHighlighterserializable - trueaccess - publicrequired - falsereturntype - anyinject - commandHistoryFile@constantsserializable - trueaccess - publicrequired - falsereturntype - anyinject - CommandParserserializable - trueaccess - publicrequired - falsereturntype - anyinject - homedir@constantsserializable - trueaccess - publicrequired - falsereturntype - anyinject - REPLScriptHistoryFile@constantsserializable - trueaccess - publicrequired - falsereturntype - anyinject - REPLTagHistoryFile@constantsserializable - trueaccess - publicrequired - falsereturntype - anyinject - SignalHandlerserializable - trueaccess - publicrequired - falsereturntype - anyinject - SystemSettingsserializable - true| Method Detail |
|---|
Build a jline console reader instance
inStream - input stream if running externallyoutputStream - output stream if running externallyhistoryFile