You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Paulo Silveira <pa...@paulo.com.br> on 2004/06/01 03:59:49 UTC

Re: VelocityTools Contribution [ClassTool]

Nathan Green wrote:
> 
> Well then I suppose I need to contact get on the Commons mailing list.
> The really important function [instanceOf(Object,String)] doesn't seem
> to have an equivalent in ClassUtils.

$classUtilsTool.isAssignable($object.class, "com.package.YourClass")

.class will getClass(). just beautiful.

Paulo Silveira


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org