jline
Class TerminalFactory
java.lang.Object
jline.TerminalFactory
public class TerminalFactory
- extends Object
Creates terminal instances.
- Since:
- 2.0
- Author:
- Jason Dillon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JLINE_TERMINAL
public static final String JLINE_TERMINAL
- See Also:
- Constant Field Values
AUTO
public static final String AUTO
- See Also:
- Constant Field Values
UNIX
public static final String UNIX
- See Also:
- Constant Field Values
WIN
public static final String WIN
- See Also:
- Constant Field Values
WINDOWS
public static final String WINDOWS
- See Also:
- Constant Field Values
NONE
public static final String NONE
- See Also:
- Constant Field Values
OFF
public static final String OFF
- See Also:
- Constant Field Values
FALSE
public static final String FALSE
- See Also:
- Constant Field Values
TerminalFactory
public TerminalFactory()
create
public static Terminal create()
reset
public static void reset()
resetIf
public static void resetIf(Terminal t)
configure
public static void configure(String type)
configure
public static void configure(TerminalFactory.Type type)
get
public static Terminal get()
getFlavor
public static Terminal getFlavor(TerminalFactory.Flavor flavor)
throws Exception
- Throws:
Exception
registerFlavor
public static void registerFlavor(TerminalFactory.Flavor flavor,
Class<? extends Terminal> type)
Copyright © 2008-2011 Sonatype. All Rights Reserved.