public static String maskQuoteAndBackslash(String s)	{
		StringBuffer sb = new StringBuffer(s.length());
		for (int i = 0; i < s.length(); i++)	{
			char c = s.charAt(i);
			switch (c)	{
				case '"':
				case '\\':
					sb.append('\\');
					break;
			}
			sb.append(c);
		}
		return sb.toString();
	}