public final class Escape extends Object
Constructor and Description |
---|
Escape() |
Modifier and Type | Method and Description |
---|---|
static String |
htmlEscape(String string)
Escape special HTML entities.
|
static String |
jsonEscape(String string)
Escape a JSON string.
|
static Object |
sqlEscape(String string)
Escape an SQL string.
|
static String |
xmlAttrEscape(String string)
Escape XML attribute's value.
|
Copyright © 2014 Carrot Search s.c.. All rights reserved.