Package jline.console

Class 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 processing
      protected void loadKeys​(java.lang.String appName, java.net.URL inputrcUrl)  
      protected boolean setKeyMap​(java.lang.String name)  
      protected void setKeys​(KeyMap keys)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsoleKeys

        public ConsoleKeys​(java.lang.String appName,
                           java.net.URL inputrcUrl)
    • 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.