Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

creating a java outputstream object and converting it to a javascript object

347 views
Skip to first unread message

bryanwb

unread,
Jan 3, 2010, 12:04:39 AM1/3/10
to
I am trying to use Henri Sivonen's excellent htmlparser written in
java from rhino

I have gotten stuck using the HtmlSerializer constructor which needs
an Outputstream object.
nu.validator.htmlparser.sax.HtmlSerializer

HtmlSerializer(OutputStream out)

I am quite ignorant when it comes to java. Can anyone tell me the
easiest way to create an Outpustream object and convert it to a
regular js object? I much appreciate the help

Here is a link to the function I am trying to use
http://about.validator.nu/htmlparser/apidocs/nu/validator/htmlparser/sax/HtmlSerializer.html#HtmlSerializer(java.io.OutputStream)

thanks

Marcello Bastéa-Forte

unread,
Jan 3, 2010, 1:40:50 AM1/3/10
to bryanwb, dev-tech-js-...@lists.mozilla.org
0 new messages