接口 NameSource
-
public interface NameSourceThis interface supports name completion, which is used primarily for command line tools, etc. It provides a flat source of "names" in a space. For example all of the classes in the classpath or all of the variables in a namespace (or all of those).NameSource is the lightest weight mechanism for sources which wish to support name completion. In the future it might be better for NameSpace to implement NameCompletion directly in a more native and efficient fasion. However in general name competion is used for human interaction and therefore does not require high performance.
-
-
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static interfaceNameSource.Listener
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidaddNameSourceListener(NameSource.Listener listener)java.lang.String[]getAllNames()
-
-
-
方法详细资料
-
getAllNames
java.lang.String[] getAllNames()
-
addNameSourceListener
void addNameSourceListener(NameSource.Listener listener)
-
-