public class Utils
extends java.lang.Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
escapeXMLCharacters(java.lang.String content)
Parses a text and escapes '<', '&' chars with corresponding
entities.
|
static java.lang.String |
escapeXMLEntities(java.lang.String content)
Parses a text and escapes '<', '&', '<', '&' chars with corresponding
entities.
|
public static java.lang.String escapeXMLCharacters(java.lang.String content)
content
- The String to workpublic static java.lang.String escapeXMLEntities(java.lang.String content)
content
- The String to workCopyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.