public class CSS
extends Object
CSS static methods.
-
Constructor Summary 
Constructors
-
Method Summary 
Escape the given string according to CSS syntax.
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details 
-
CSS 
public CSS()
-
Method Details 
-
escape 
Escape the given string according to CSS syntax.
For convenience, if the string contains an escape sequence escaping a private
or unassigned character, the corresponding backslash is not escaped.
- Parameters:
text
- the text to escape.
- Returns:
- the escaped text.