Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help needed to find the jar  RSS feed

 
Anuradha Karunamuni
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to escape some characters which are not allowed in XML, contained in a String using the following method.

String s = StringEscapeUtils.escapeXml("String to be escaped");

For this I need to import org.apache.commons.lang.StringEscapeUtils. But I could not find a jar containing the above. Can somebody help me to locate a suitable jar with the required class.

Or else if there is anyother way of obtaining the output, please let me know.
Thanks in advance.
 
Paul Clapham
Sheriff
Posts: 22472
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start here.
 
Anuradha Karunamuni
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!