[jdom-interest] is SAXBuilder.build() thread-safe?
Jason Hunter
jhunter at acm.org
Wed Oct 30 18:22:23 PST 2002
The FAQ answers this. And the overhead of creating one holder object is
nothing compared to the overhead of parsing a file.
-jh-
Glen Lewis wrote:
>
> Yeah, a pretty simple question ... can I keep one SAXBuilder instance lying around, and have multiple threads call build() on it at the same time? I've been creating a new instance every time I parse ... it just feels so wasteful ;)
>
> And I guess the same goes for XMLOutputter.output() ... ?
>
> thanks!
> Glen Lewis
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list