HTML2TextReader class [message #332130] |
Mon, 06 October 2008 13:59 |
Eclipse User |
|
|
|
Originally posted by: echaland.rogers.com
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C9279A.3F1AAF10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
The class HTML2TextReader has a method getString() that converts HTML to =
text; however this API is private. HTML2TextReader class is defined in =
the package org.eclipse.jface.internal.text.html. Is there a =
corresponding public API that we could use instead?
Thank you
------=_NextPart_000_0008_01C9279A.3F1AAF10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16674" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial color=3D#000080 =
size=3D2>
<P>The class HTML2TextReader has a method getString() that converts HTML =
to=20
text; however this API is private. <FONT face=3DArial color=3D#000080=20
size=3D2>HTML2TextReader class is defined in the package=20
org.eclipse.jface.internal.text.html. Is there a corresponding public =
API that=20
we could use instead?</FONT></P>
<P><FONT face=3DArial color=3D#000080 size=3D2>Thank=20
you</P></FONT></FONT></FONT></DIV></BODY></HTML>
------=_NextPart_000_0008_01C9279A.3F1AAF10--
|
|
|
|
Re: HTML2TextReader class [message #332137 is a reply to message #332136] |
Mon, 06 October 2008 16:38 |
Eclipse User |
|
|
|
Originally posted by: echaland.rogers.com
Thanks I see.
However which API should I use if I want to convert the documentation which
is stored as HTML to plain text?
Thank you.
"Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
news:gcded3$d82$1@build.eclipse.org...
> Eric wrote:
>> Hi,
>>
>> The class HTML2TextReader has a method getString() that converts HTML to
>> text; however this API is private. HTML2TextReader class is defined in
>> the package org.eclipse.jface.internal.text.html. Is there a
>> corresponding public API that we could use instead?
>>
> No, this is currently not API (see:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=241896).
>
> Dani
>>
>> Thank you
>>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03068 seconds