[jdom-interest] Getting String from a Document
Thomas M. Sasala
tsasala at hifusion.com
Fri Jun 16 04:17:21 PDT 2000
Is this a new method or am I completely loosing my mind?
I spent an hour looking for such a method....sorry for the confusion...
Elliotte Rusty Harold wrote:
>
> I'm not sure what I'm missing here but I see these two methods in
> org.jdom.input.SAXBuilder:
>
> public Document build(java.io.Reader characterStream)
> throws JDOMException
>
> This builds a document from the supplied Reader.
>
> Parameters:
> in - Reader to read from.
> Returns:
> Document - resultant Document object.
> Throws:
> JDOMException - when errors occur in parsing.
>
> public Document build(java.io.Reader characterStream,
> java.lang.String SystemId)
> throws JDOMException
>
> I see that the JavaDoc is a little off from the actual arguments.
> characterStream should be changed to in as the JavaDoc suggests (I
> really don't like calling Readers character streams, gives people the
> wrong ideas about what's a subclass of what) but either of these two
> methods should do what you need.
>
More information about the jdom-interest
mailing list