Name

hasclass — An interface to Class.forName

Synopsis

hasclass classname

Description

Reports whether a given class is present or not.

[Important]Important

Keep in mind that in J2ME, using an obfuscator, class names may not be what you think they are! Only use this for system-defined classes.

Example

hecl> hasclass org.hecl.net.HttpCmd
1
hecl> hasclass oogyboogy
0