Package org.semanticweb.owlapi.util
Class EscapeUtils
java.lang.Object
org.semanticweb.owlapi.util.EscapeUtils
- Since:
- 2.2.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
-
Method Details
-
escapeString
Escapes quotes and backslashes in a string. Double quotes are replaced with a backslash followed by a double quote, and backslashes are replaced with a double backslash.- Parameters:
s
- The string to be escaped- Returns:
- The escaped string.
-
unescapeString
- Parameters:
s
- string to unescape- Returns:
- the unescaped string
-