[jdom-interest] Passing CharArrayReader to SAXBuilder build() method

bob mcwhirter bob at werken.com
Fri Dec 21 12:57:23 PST 2001

> Might someone be kind enough to explain to me why what I attempt
> does not produce the desired result?

No clue.

But I can say this:

	Don't do it that way.

Look at the build(URL url) or build(InputStream in) methods on
SAXBuilder.  They'll save you a lot of work.  

Then, check out the java.util.File class (specifically the toURL()
method) and possibly the java.io.FileInputStream class.

I'll say that with Java, 99% of the time, you won't be working at that
low a level.  Let the standard classes do the heavy lifting for you.


More information about the jdom-interest mailing list