@Test public void unescape() { String text = "Hello &AElig; &amp;&LT&gt; &reg &angst; &angst &#960; &#960 &#x65B0; there &! &frac34; &copy; &COPY;"; assertEquals("Hello Æ &<> ® Å &angst π π 新 there &! ¾ © ©", Entities.unescape(text)); assertEquals("&0987654321; &unknown", Entities.unescape("&0987654321; &unknown")); }
static String unescape(String string) { return unescape(string, false); }
Entities { static String unescape(String string) { return unescape(string, false); } }
Entities { static String unescape(String string) { return unescape(string, false); } private  Entities(); }
Entities { static String unescape(String string) { return unescape(string, false); } private  Entities(); static boolean isNamedEntity(final String name); static boolean isBaseNamedEntity(final String name); static Character getCharacterByName(String name); static String getByName(String name); static int codepointsForName(final String name, final int[] codepoints); }
Entities { static String unescape(String string) { return unescape(string, false); } private  Entities(); static boolean isNamedEntity(final String name); static boolean isBaseNamedEntity(final String name); static Character getCharacterByName(String name); static String getByName(String name); static int codepointsForName(final String name, final int[] codepoints);  }