Function to convert HTML entities

330 views
Skip to first unread message

Promethius

unread,
Mar 5, 2008, 2:10:08 AM3/5/08
to Google Web Toolkit
Hi All,

Is there a function in GWT where I can encode / decode HTML Entities.
I have a requirement where I receive html entities like >, < and
I need a function which can convert > to ">" and so on. Is anyone
aware of an inbuilt function in GWT for doing this.

Regards,
Promethius

amye93

unread,
Mar 5, 2008, 1:47:47 PM3/5/08
to Google Web Toolkit
Can you use the class com.google.gwt.http.client.URL? It has encode
and decode methods.

Amy

Promethius

unread,
Mar 11, 2008, 6:57:32 AM3/11/08
to Google Web Toolkit
Thanks, will check it out.

Regards,
Promethius
Reply all
Reply to author
Forward
0 new messages