Learn R Programming

SJava (version 0.98.0)

expandClassName: The fully qualified name of a Java class

Description

This takes the partially qualified name of a Java class and queries the Omegahat class list to resolve the appropriate Java class. This then returns the name (via the Java method getName()) of that class with all the package information in the name.

Usage

expandClassName(klass)

Arguments

klass
the partially qualified name of the Java class which is to be resolved.

Value

a character vector of length 1 containing the fully qualified name of the Java class.

Details

This uses the Omegahat evaluator's class list, including the locally added classes (i.e. those not in the Java classpath, but added to the Omegahat class search path) and the dynamically generated and loaded classes.

References

http://www.omegahat.org/RSJava

See Also

.JClass

Examples

Run this code
 expandClassName("util.Vector")

Run the code above in your browser using DataLab