public class Interactive extends Object implements Runnable, ShellConsole
CRLF| Constructor and Description | 
|---|
| Interactive() | 
| Interactive(Shell shell,
           InputStream in,
           Writer out,
           jline.Terminal term)Used in GUI mode | 
| Modifier and Type | Method and Description | 
|---|---|
| void | closeHistory() | 
| jline.ConsoleReader | getConsole() | 
| static String | getCurrentCmdLine() | 
| String | getPrompt() | 
| Shell | getShell() | 
| void | loadHistory() | 
| void | print(String msg) | 
| void | println() | 
| void | println(String msg) | 
| String | readLine(String prompt,
        Character mask) | 
| void | removeHistory() | 
| static void | reset() | 
| void | run() | 
| static void | setConsoleReaderFactory(ConsoleReaderFactory factory) | 
| static void | setHandler(InteractiveShellHandler exitHandler) | 
public Interactive()
            throws IOException
IOExceptionpublic Interactive(Shell shell, InputStream in, Writer out, jline.Terminal term) throws IOException
shell - in - out - IOExceptionpublic static void setConsoleReaderFactory(ConsoleReaderFactory factory)
public static void setHandler(InteractiveShellHandler exitHandler)
public static void reset()
public static String getCurrentCmdLine()
public jline.ConsoleReader getConsole()
public Shell getShell()
public String getPrompt()
public void print(String msg)
print in interface ShellConsolepublic void println(String msg)
println in interface ShellConsolepublic void println()
println in interface ShellConsolepublic String readLine(String prompt, Character mask)
readLine in interface ShellConsolepublic void loadHistory()
                 throws IOException
IOExceptionpublic void closeHistory()
public void removeHistory()
Copyright © 2013 Nuxeo SA. All Rights Reserved.