(String s)
| 223 | } |
| 224 | |
| 225 | private Printer appendQuoted(String s) { |
| 226 | this.append('"'); |
| 227 | int len = s.length(); |
| 228 | for (int i = 0; i < len; i++) { |
| 229 | char c = s.charAt(i); |
| 230 | escapeCharacter(c); |
| 231 | } |
| 232 | return this.append('"'); |
| 233 | } |
| 234 | |
| 235 | private Printer backslashChar(char c) { |
| 236 | return this.append('\\').append(c); |
no test coverage detected