[jdom-interest] Document from a string?
William Krick
wkrick at eio-online.com
Mon Jul 21 12:53:10 PDT 2003
How do I create a JDOM Document from a java String?
My String is returned from a database "getString()" call.
My first instinct was to use something like...
String myString = "..."; // the results of getString() call
SAXBuilder builder = new SAXBuilder();
Document doc = builder.build(myString);
...but it seems that SAXBuilder only takes files, streams and URLs.
...
Krick
More information about the jdom-interest
mailing list