Re: [lang] ***Utils.classForName( String) ?

2002-11-29 Thread Tomasz Pik
Ola Berg wrote:

Is the ClassUtils supposed to go into [lang]? If then, yes, if not... I (like java.lang) think that loading class per name is really core.


Maybe this ClassUtils will do the same as:
http://jakarta.apache.org/commons/discover/apidocs/org/apache/commons/discovery/load/ClassLoaderUtils.html
?

Tomek


As for better and best... different algorithms in different methods, plus a recommended method that points to any of the former?

/O





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: [lang] ***Utils.classForName( String) ?

2002-11-29 Thread Ola Berg
 Maybe this ClassUtils will do the same as:
 
http://jakarta.apache.org/commons/discover/apidocs/org/apache/commons/discovery/load/ClassLoaderUtils.html
 ?

Not only, no. But for the class loading parts more or less yes. There is a slight 
overlap in functionality here. 

What the regular [lang] user needs is a quick replacement for Class.forName() that can 
be considered safe to use.


/O



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]