Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gnu.readline
Class ReadlineLibrary  view ReadlineLibrary download ReadlineLibrary.java

java.lang.Object
  extended byorg.gnu.readline.ReadlineLibrary

public final class ReadlineLibrary
extends java.lang.Object

This class implements a typesafe enumeration of the backing libraries.

Version:
$Revision: 1.4 $

Field Summary
static ReadlineLibrary Editline
          Constant for Editline implementation.
static ReadlineLibrary Getline
          Constant for Getline implementation.
static ReadlineLibrary GnuReadline
          Constant for GNU-Readline implementation.
private  java.lang.String iName
          The name of the backing native library.
static ReadlineLibrary PureJava
          Constant for fallback, pure Java implementation.
 
Constructor Summary
private ReadlineLibrary(java.lang.String name)
          Constructor.
 
Method Summary
static ReadlineLibrary byName(java.lang.String name)
          Return ReadlineLibrary-object with given name.
 java.lang.String getName()
          Query name of backing library.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PureJava

public static final ReadlineLibrary PureJava
Constant for fallback, pure Java implementation.


GnuReadline

public static final ReadlineLibrary GnuReadline
Constant for GNU-Readline implementation.


Editline

public static final ReadlineLibrary Editline
Constant for Editline implementation.


Getline

public static final ReadlineLibrary Getline
Constant for Getline implementation.


iName

private java.lang.String iName
The name of the backing native library.

Constructor Detail

ReadlineLibrary

private ReadlineLibrary(java.lang.String name)
Constructor. The constructor is private, so only the predefined constants are available.

Method Detail

getName

public java.lang.String getName()
Query name of backing library.


byName

public static ReadlineLibrary byName(java.lang.String name)
Return ReadlineLibrary-object with given name.