[jdom-interest] monitoring progress of SAXBuilder

Jools jools at jools.org
Mon Apr 9 14:37:02 PDT 2001


> I am using SAXBuilder to parse a fairly large XML file. It takes about
> 15 seconds just to build the document, which calls for some kind of
> progress feedback for the user. What are my options here? Can I provide
> some kind of listener to SAXBuilder to be notified every once in a
> while?

Perhaps you could use the an XMLFilter to provide notifications.

Have a look at FilterTest.java in the jdom/samples/sax directory
in the JDOM distribution, it may give you a few ideas.

-Jools



More information about the jdom-interest mailing list