程序包 jline

类 UnsupportedTerminal

java.lang.Object
jline.Terminal
jline.UnsupportedTerminal
所有已实现的接口:
ConsoleOperations

public class UnsupportedTerminal extends Terminal
A no-op unsupported terminal.
作者:
Marc Prud'hommeaux
  • 构造器详细资料

    • UnsupportedTerminal

      public UnsupportedTerminal()
  • 方法详细资料

    • initializeTerminal

      public void initializeTerminal()
      从类复制的说明: Terminal
      Initialize any system settings that are required for the console to be able to handle input correctly, such as setting tabtop, buffered input, and character echo.
      指定者:
      initializeTerminal 在类中 Terminal
    • getEcho

      public boolean getEcho()
      从类复制的说明: Terminal
      Returns true if the terminal will echo all characters type.
      指定者:
      getEcho 在类中 Terminal
    • isEchoEnabled

      public boolean isEchoEnabled()
      从类复制的说明: Terminal
      Returns false if character echoing is disabled.
      指定者:
      isEchoEnabled 在类中 Terminal
    • enableEcho

      public void enableEcho()
      从类复制的说明: Terminal
      Enable character echoing. This can be used to re-enable character if the ConsoleReader is no longer being used.
      指定者:
      enableEcho 在类中 Terminal
    • disableEcho

      public void disableEcho()
      从类复制的说明: Terminal
      Disable character echoing. This can be used to manually re-enable character if the ConsoleReader has been disabled.
      指定者:
      disableEcho 在类中 Terminal
    • getTerminalWidth

      public int getTerminalWidth()
      Always returng 80, since we can't access this info on Windows.
      指定者:
      getTerminalWidth 在类中 Terminal
    • getTerminalHeight

      public int getTerminalHeight()
      Always returng 24, since we can't access this info on Windows.
      指定者:
      getTerminalHeight 在类中 Terminal
    • isSupported

      public boolean isSupported()
      从类复制的说明: Terminal
      Returns true if this terminal is capable of initializing the terminal to use jline.
      指定者:
      isSupported 在类中 Terminal
    • beforeReadLine

      public void beforeReadLine(ConsoleReader reader, String prompt, Character mask)
      从类复制的说明: Terminal
      Invokes before the console reads a line with the prompt and mask.
      覆盖:
      beforeReadLine 在类中 Terminal
    • afterReadLine

      public void afterReadLine(ConsoleReader reader, String prompt, Character mask)
      从类复制的说明: Terminal
      Invokes after the console reads a line with the prompt and mask.
      覆盖:
      afterReadLine 在类中 Terminal