jline

Class UnsupportedTerminal

public class UnsupportedTerminal extends Terminal

A no-op unsupported terminal.

Author: Marc Prud'hommeaux

Method Summary
voidafterReadLine(ConsoleReader reader, String prompt, Character mask)
voidbeforeReadLine(ConsoleReader reader, String prompt, Character mask)
voiddisableEcho()
voidenableEcho()
booleangetEcho()
intgetTerminalHeight()
Always returng 24, since we can't access this info on Windows.
intgetTerminalWidth()
Always returng 80, since we can't access this info on Windows.
voidinitializeTerminal()
booleanisEchoEnabled()
booleanisSupported()

Method Detail

afterReadLine

public void afterReadLine(ConsoleReader reader, String prompt, Character mask)

beforeReadLine

public void beforeReadLine(ConsoleReader reader, String prompt, Character mask)

disableEcho

public void disableEcho()

enableEcho

public void enableEcho()

getEcho

public boolean getEcho()

getTerminalHeight

public int getTerminalHeight()
Always returng 24, since we can't access this info on Windows.

getTerminalWidth

public int getTerminalWidth()
Always returng 80, since we can't access this info on Windows.

initializeTerminal

public void initializeTerminal()

isEchoEnabled

public boolean isEchoEnabled()

isSupported

public boolean isSupported()
Copyright © 2002-2010 null. All Rights Reserved.