Re: Digester - Write XML File

2003-05-29 Thread Tim O'Brien
Matthew, You might want to take a look at Commons Betwixt - http://jakarta.apache.org/commons/betwixt/ Good luck. Tim On Wed, 2003-05-28 at 13:59, Matthew Pomar wrote: I'm unable to access the archives from my work and appologize if this question is redundant... I understand that the

Re: [DIGESTER] Newbie : Voice XML Implementation ?

2003-06-10 Thread Tim O'Brien
On Tue, 2003-06-10 at 11:06, Shahed Moolji wrote: By reading the intro to Digester, it looks like the right tool to build such an application. I'm partial to Digester, but in the interest of full disclosure, there is another tool named Castor which might also be of use. It is available from

[digester] please help (fwd)

2003-06-18 Thread Tim O'Brien
Steve, please post all user questions to commons-user. commons-dev is for the development of commons components. Tim -- Forwarded message -- Date: Wed, 18 Jun 2003 16:47:17 -0400 From: Shvets, Steve [EMAIL PROTECTED] Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED]

Re: [lang][codec] DigestUtils?

2003-10-01 Thread Tim O'Brien
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Tim O'Brien Evanston, IL (847) 863-7045 [EMAIL PROTECTED

Re: Digester Question

2003-12-22 Thread Tim O'Brien
Juan, the Digester is pretty straightforward, I'd recommend using the XML rules sets. As far as Object - XML, try using Betwixt. It is very straightfoward. Assume you have a Play JavaBean with a genre, year, language, and author properties. Create a file named Play.betwixt, and make sure

Re: Digester Question

2003-12-23 Thread Tim O'Brien
On Tue, 23 Dec 2003, Juan Alvarado wrote: Ok will do. Can you tell me if even though it is in alpha release, if you've encountered or heard of any major problems with it. Thanks On Dec 23, 2003, at 12:46 PM, Tim O'Brien wrote: I left out more detail, especially concerning

Re: Commons Multipart, anyone?

2004-01-09 Thread Tim O'Brien
Encoding/Decoding mutlipart MIME, arn't we really possibly talking about a common multipart MIME Codec that would possibly be housed in the codec project? Mark, +1, and anyone who feels like committing this code to codec is encouraged. Tim -Mark -- -- Tim O'Brien

Re: [Digester] Anyone done RSS 1.0 and RSS 2.0?

2004-01-30 Thread Tim O'Brien
Craig R. McClanahan wrote: Quoting Simon Kitching [EMAIL PROTECTED]: On Sat, 2004-01-17 at 23:58, robert burrell donkin wrote: the RSS 0.91 is really just an example but many people find it a very useful one. creating digestions for RSS 1.0 and/or RSS 2.0 isn't really an itch i have but i

[logging] RE: Encryption?

2004-12-17 Thread Tim O'Brien
-user Tim O'Brien From: Magnus Svensson (HF/EAB) Sent: Fri 12/17/2004 4:08 AM To: '[EMAIL PROTECTED]' Subject: Encryption? Hi, I have a question regarding encryption and export control. Does Jakarta Common Logging include any SW encryption that restricts export (i.e. special ECCN code

RE: Modify getter result

2004-12-20 Thread Tim O'Brien
, the Map will then contain XY as a key. If you wanted do this without side-effects (i.e. without adding a value to the Map), you could mess around with decorating the original Map with the FixedSizeMap, but the problem here is that adding a new key will throw IllegalArgumentException. Tim O'Brien

RE: Commons.Lang.util missing?

2005-01-11 Thread Tim O'Brien
:-) Ooops Sorry Sam, I wrote the book against an older version. Tim -Original Message- From: Phil Steitz [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 4:59 AM To: Jakarta Commons Users List Subject: Re: Commons.Lang.util missing? Sam Nabialek wrote: Hi,

RE: [betwixt] Collection property question

2005-01-13 Thread Tim O'Brien
When you read or write the bean using Betwixt, try writer.getXMLIntrospector().getConfiguration().setWrapCollectionsInElement(false); or reader.getXMLIntrospector().getConfiguration().setWrapCollectionsInElement(false); where writer or reader is your BeanWriter or BeanReader. Tim

RE: [betwixt] Collection property question

2005-01-13 Thread Tim O'Brien
Could you send the complete code you are using to read with? Tim -Original Message- From: Matt Goodwin [mailto:[EMAIL PROTECTED] Sent: Thu 1/13/2005 2:58 PM To: Jakarta Commons Users List Subject: Re: [betwixt] Collection property question I have that set. It appears that my class

RE: Using lucene

2005-01-22 Thread Tim O'Brien
Ahmed, Lucene is a Jakarta sub-project, not a commons component. Nevertheless here are some links that might be useful: Two Articles by Otis Gospodnetic - http://www.onjava.com/pub/a/onjava/2003/01/15/lucene.html http://www-106.ibm.com/developerworks/java/library/j-lucene/ Tim O'Brien

[all] correction was RE: [ALL] Checking Out Trunk Of All Commons Packages

2005-01-30 Thread Tim O'Brien
try to build without these files. The correct commands follow: svn checkout http://svn.apache.org/respos/asf/jakarta/commons/trunks-proper jakarta-commons and svn checkout http://svn.apache.org/respos/asf/jakarta/commons/trunks-sandbox jakarta-commons-sandbox Tim O'Brien -Original Message

RE: [all] correction was RE: [ALL] Checking Out Trunk Of All Commons Packages

2005-01-30 Thread Tim O'Brien
2005 14:45:34 -0500, Tim O'Brien [EMAIL PROTECTED] wrote: If you were following both commons-dev and commons-user you would've seen that we already did this on Thursday :-). Please use trunks-proper and trunks-sandbox as they already contain the files migrated from the jakarta

RE: [EL] Docs ?

2005-06-25 Thread Tim O'Brien
); String message = (String) e.evaluate(jc); System.out.println( message ); Does that help? - Tim O'Brien [EMAIL PROTECTED] (847) 863-7045 -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 11:51 AM To: Jakarta Commons Users List

RE: [EL] Docs ?

2005-06-30 Thread Tim O'Brien
outside of either of these J2EE-specific specifications. So, in other words, you couldn't claim to support EL outside of a servlet environment, but you could claim to support something similar to EL, and that would be JEXL. Tim O'Brien [EMAIL PROTECTED] -Original Message- From: Jörg

RE: [EL] Docs ?

2005-06-30 Thread Tim O'Brien
-Original Message- From: Michael Rasmussen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 3:13 PM To: commons-user@jakarta.apache.org Subject: RE: [EL] Docs ? So, in other words, you couldn't claim to support EL outside of a = servlet environment, but you could claim to

Re: [collections] Name that data structure

2005-07-04 Thread Tim O'Brien
Hmmm * Ordered * No duplicates * Max Size icky Buffer boundedBuffer = new BoundedFifoBuffer(10); Predicate uniqueness = new UniquePredicate(); Buffer buffer = new PredicatedBuffer( boundedBuffer, uniqueness ); /icky Then you can iterate over the content's of the Buffer. But, that might

Re: [collections] Name that data structure

2005-07-05 Thread Tim O'Brien
Wendy, you could most certainly use a LRUMap with a fixed size. Give each item a unique key and let the Map take care of uniqueness. LRUMap will take care of discarding the least recently used entry once it reached the maximum defined size, and the Iterator returns most recently used to

Re: [collections] Name that data structure

2005-07-05 Thread Tim O'Brien
Tim O'Brien wrote: Wendy, you could most certainly use a LRUMap with a fixed size. Give each item a unique key and let the Map take care of uniqueness. LRUMap will take care of discarding the least recently used entry once it reached the maximum defined size, and the Iterator returns most

Re: Expressions, Collections, Filtering oh my..

2005-07-05 Thread Tim O'Brien
Here are two ways to do this, JXPath is easier as you won't have to write your own Predicate. Say you have a collection of Person objects that you created with this code: Person person1 = new Person(); person1.setName( Bill ); person1.setAge( 12 ); Person person2 =

Re: [Commons, Collections, JXPath] Looking for more to read, pros/cons of filtering methods

2005-07-21 Thread Tim O'Brien
Stephen Colebourne wrote: Bernard, Shawn wrote: For the record, my initial post on this topic had a subject line of: [Collections, JXPath] advantages/disadvantages My question was: [W]hat are the advantages/disadvantages of using Predicate/Closure's to filter Collections of

Re: [Messenger] Abandonware?

2005-07-21 Thread Tim O'Brien
All source has been moved to SVN: try http://svn.apache.org/repos/asf/jakarta/commons [EMAIL PROTECTED] wrote: Hi, Has Messenger been abandoned? I can't seem to get the source - couldn't get at CVS. I realize that it is only a sandbox project. Also, CodeHaus also has a project named