Class KeyParser


  • public class KeyParser
    extends java.lang.Object
    Utility class for parsing raw terminal input sequences into KeyEvent objects.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static KeyEvent parse​(java.lang.String rawSequence)
      Parses a raw input sequence into a KeyEvent.
      • Methods inherited from class java.lang.Object

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

      • parse

        public static KeyEvent parse​(java.lang.String rawSequence)
        Parses a raw input sequence into a KeyEvent.
        Parameters:
        rawSequence - the raw input sequence from the terminal
        Returns:
        a KeyEvent representing the parsed input