commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory" <ggreg...@seagullsw.com>
Subject RE: Proposal for the Commons Sandbox
Date Mon, 08 Mar 2004 18:43:51 GMT
Hello,

> However I think Jestr is a
> little different from the ToStringBuilder stuff because it isn't
> necessarily concerned with helping you implement toString() methods;
> instead, it's more concerned with helping you log *arbitrary* objects,
> even if you don't have access to their source code to change their
> toString() methods.

Note that the o.a.c.l.builder package also provides the ability to
operate on an arbitrary object. Please see: 

(1) The class ReflectionToStringBuilder: 

http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/build
er/ReflectionToStringBuilder.html

(2) The ToStringBuilder methods which forward to
ReflectionToStringBuilder:
 
http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/build
er/ToStringBuilder.html#reflectionToString(java.lang.Object)

Gary


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


Mime
View raw message