Package net.sf.okapi.common
Class DecodeUtil
- java.lang.Object
-
- net.sf.okapi.common.DecodeUtil
-
public class DecodeUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description DecodeUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringfromPlainTextHTML(String text)Converts an HTML plain text into a plain text one.
-
-
-
Method Detail
-
fromPlainTextHTML
public static String fromPlainTextHTML(String text)
Converts an HTML plain text into a plain text one.This method assumes there is no elements in the text, just escaped characters. The methods supported NCRs as well as HTML CERs.
- Parameters:
text- the HTML string to convert.- Returns:
- the un-escaped text.
-
-