commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serge Knystautas <ser...@lokitech.com>
Subject Properties -> Bean setterse
Date Thu, 06 May 2004 16:00:42 GMT
I have a java.util.Properties object, and I'd like to "apply" that data 
to a Bean, meaning this properties object:

port=32200
host=foobar
someid=14

would apply to "mybean" as

mybean.setPort(32200);
mybean.setHost("foobar");
mybean.setSomeid("14");

I can find various commons libraries that do something similar, but 
nothing quite like this.  Does anyone know something like this I can use?

-- 
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com


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


Mime
View raw message