jline

Class ClassNameCompletor

Implemented Interfaces:
Cloneable, Completor

public class ClassNameCompletor
extends SimpleCompletor

A Completor implementation that completes java class names. By default, it scans the java class path to locate all the classes.
Author:
Marc Prud'hommeaux

Nested Class Summary

Nested classes/interfaces inherited from class jline.SimpleCompletor

SimpleCompletor.NoOpFilter, SimpleCompletor.SimpleCompletorFilter

Constructor Summary

ClassNameCompletor()
Complete candidates using all the classes available in the java CLASSPATH.
ClassNameCompletor(SimpleCompletor.SimpleCompletorFilter filter)

Method Summary

static String[]
getClassNames()

Methods inherited from class jline.SimpleCompletor

addCandidateString, clone, complete, getCandidates, getDelimiter, setCandidateStrings, setCandidates, setDelimiter

Constructor Details

ClassNameCompletor

public ClassNameCompletor()
            throws IOException
Complete candidates using all the classes available in the java CLASSPATH.

ClassNameCompletor

public ClassNameCompletor(SimpleCompletor.SimpleCompletorFilter filter)
            throws IOException

Method Details

getClassNames

public static String[] getClassNames()
            throws IOException