Class CSS

java.lang.Object
io.sf.carte.doc.style.css.CSS

public class CSS extends Object
CSS static methods.
  • Constructor Details

    • CSS

      public CSS()
  • Method Details

    • escape

      public static String escape(String text)
      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.