Re: commons email: charset question

2006-06-23 Thread Thomas Trocha
I just had the same problem! Try to use MultiPartEMail instead of SimpleEMail: e.g.: MultiPartEmail email = new MultiPartEmail(); email.setHostName(smtpServer); email.addTo(to); email.setSubject(subject); email.setCharset(UTF-8); email.setMsg(text); email.setFrom(from); String result =

Re: [IO] - Wildcard filter for directories

2006-06-23 Thread Stephen Colebourne
I am looking to handle this behaviour by reworking the filter. See also http://issues.apache.org/jira/browse/IO-81 Stephen Heiko wrote: Hallo, two questions concerning the org.apache.commons.io.filefilter package: - I would like to have wildcard filtering for directories, but

RE: [digester] Using the return value of a method call?

2006-06-23 Thread Simon Kitching
On Thu, 2006-06-22 at 15:45 -0500, Sloan, Noah M wrote: Is there a way to make the Digester call Rule's end() methods in the normal order instead of reverse order? Why does it do this? No, there is no way to change the order. The begin method typically pushes stuff onto the object stack,

RE: [digester] Using the return value of a method call?

2006-06-23 Thread Simon Kitching
Hi, The FactoryCreateRule provides a basic framework for this sort of thing; you would then need to write an ObjectCreationFactory that accesses the digester stack and calls your method to create the object. Alternatively, as Jared says, writing your own rule will do the trick. Actually, a