Package jline.console
Class ConsoleKeys
- java.lang.Object
-
- jline.console.ConsoleKeys
-
public class ConsoleKeys extends java.lang.Object
- Author:
- Ståle W. Pedersen
-
-
Constructor Summary
Constructors Constructor Description ConsoleKeys(java.lang.String appName, java.net.URL inputrcUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<java.lang.String,KeyMap>
getKeyMaps()
protected KeyMap
getKeys()
java.lang.String
getVariable(java.lang.String var)
Retrieves the value of a variable that was set in the .inputrc file during processingprotected void
loadKeys(java.lang.String appName, java.net.URL inputrcUrl)
protected boolean
setKeyMap(java.lang.String name)
protected void
setKeys(KeyMap keys)
-
-
-
Method Detail
-
setKeyMap
protected boolean setKeyMap(java.lang.String name)
-
getKeyMaps
protected java.util.Map<java.lang.String,KeyMap> getKeyMaps()
-
getKeys
protected KeyMap getKeys()
-
setKeys
protected void setKeys(KeyMap keys)
-
loadKeys
protected void loadKeys(java.lang.String appName, java.net.URL inputrcUrl)
-
getVariable
public java.lang.String getVariable(java.lang.String var)
Retrieves the value of a variable that was set in the .inputrc file during processing- Parameters:
var
- The variable name- Returns:
- The variable value.
-
-