Class JLineTerminal

java.lang.Object
com.aspectran.shell.jline.console.JLineTerminal

public class JLineTerminal extends Object
Console I/O implementation that supports JLine.

Created: 2017. 3. 4.

  • Constructor Details

  • Method Details

    • getTerminal

      public org.jline.terminal.Terminal getTerminal()
    • getEncoding

      public Charset getEncoding()
    • isDumb

      protected boolean isDumb()
    • isDumbColor

      protected boolean isDumbColor()
    • getReader

      public org.jline.reader.LineReader getReader()
    • getCommandReader

      public org.jline.reader.LineReader getCommandReader()
    • getCommandCompleter

      public CommandCompleter getCommandCompleter()
    • getCommandHighlighter

      public CommandHighlighter getCommandHighlighter()
    • setCommandHistoryFile

      public void setCommandHistoryFile(String historyFile)
    • getCommandHistory

      public List<String> getCommandHistory()
    • clearCommandHistory

      public void clearCommandHistory()
    • clearScreen

      public void clearScreen()
    • clearLine

      public void clearLine()
    • redrawLine

      public void redrawLine()
    • getOutput

      public OutputStream getOutput()
    • getWriter

      public PrintWriter getWriter()
    • isReading

      public boolean isReading()
    • hasStyle

      public boolean hasStyle()
    • getStyle

      protected JLineTerminal.Style getStyle()
    • setStyle

      protected void setStyle(JLineTerminal.Style style)
    • applyStyle

      public void applyStyle(String... styles)
    • toAnsi

      public String toAnsi(String str)
    • toAnsi

      protected String toAnsi(String str, JLineTerminal.Style style)
    • write

      public void write(String str)
    • writeLine

      public void writeLine()
    • writeAbove

      public void writeAbove(String str)
    • flush

      public void flush()