org.gnu.readline
Class ReadlineLibrary
java.lang.Object
org.gnu.readline.ReadlineLibrary
public final class ReadlineLibrary
extends java.lang.Object
This class implements a typesafe enumeration of the backing libraries.
Editline
public static final ReadlineLibrary Editline
Constant for Editline implementation.
Getline
public static final ReadlineLibrary Getline
Constant for Getline implementation.
GnuReadline
public static final ReadlineLibrary GnuReadline
Constant for GNU-Readline implementation.
PureJava
public static final ReadlineLibrary PureJava
Constant for fallback, pure Java implementation.
byName
public static ReadlineLibrary byName(String name)
Return ReadlineLibrary-object with given name.
- one of the predefined constants
getName
public String getName()
Query name of backing library.
- Name of backing library, or "PureJava", in case fallback
implementation is used.
| The Java-Readline Library, Version 0.8.1 |
Released under the LGPL, (c) Bernhard Bablok, Henner Zeller 1998-2002
Homepage: http://java-readline.sourceforge.net/