public final class StringUtil extends Object
|Modifier and Type||Method and Description|
Removes all escape sequences in a string and return unescaped string escape character is backslash \, so \\ --> \, \' --> ' additional escaped characters can be allowed in escapedChars.
literal- String to unescape
escapedChars- set of allowed characters to be escaped with a backslash, if set to null then ' (quote) and \ (backslash) are allowed to be escaped
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.