public static Pattern getIdentifierPattern()
public static void enquote(String s, Appendable a) throws IOException
IOException
public static void enquoteIfNecessary(String s, Appendable a) throws IOException
IOException
public static void enquoteIfNecessary(String s, Appendable a, Pattern valid) throws IOException
IOException
public static void enquoteIfNecessary(String s, Appendable a, Pattern valid, Pattern exception) throws IOException
IOException
public static void unquote(String s, Appendable a) throws IOException
IOException
public static String unescapeQuotes(String s)
\"
by "
and
\\
by \
.s
- the string in which to unescape double quotes.public static void unescapeQuotes(String s, Appendable a) throws IOException
IOException
public static String escapeQuotes(String s)
"
is
replaced by \"
and \
is replaced by
\\
.s
- the string to escape.public static void escapeQuotes(String s, Appendable a) throws IOException
IOException
public static void appendObject(Appendable a, Object obj) throws IOException
IOException
public static void appendArray(Appendable a, Object[] array, String sepString) throws IOException
IOException
public static void appendArrayEnquoted(Appendable a, Object[] array, String sepString) throws IOException
IOException
public static void appendIterable(Appendable a, Iterable<?> it, String sepString) throws IOException
IOException
public static void appendIterableEnquoted(Appendable a, Iterable<?> it, String sepString) throws IOException
IOException
Copyright © 2015. All rights reserved.