Lines Matching defs:out
71 * public void writeJsonStream(OutputStream out, List<Message> messages) throws IOException {
72 * JsonWriter writer = new JsonWriter(new OutputStreamWriter(out, "UTF-8"));
123 private final Writer out;
144 * Creates a new instance that writes a JSON-encoded stream to {@code out}.
148 public JsonWriter(Writer out) {
149 if (out == null) {
150 throw new NullPointerException("out == null");
152 this.out = out;
241 out.write(openBracket);
260 out.write(closeBracket);
315 out.write("null");
326 out.write(value ? "true" : "false");
342 out.append(Double.toString(value));
353 out.write(Long.toString(value));
375 out.append(string);
384 out.flush();
393 out.close();
401 out.write("\"");
419 out.write('\\');
420 out.write(c);
424 out.write("\\t");
428 out.write("\\b");
432 out.write("\\n");
436 out.write("\\r");
440 out.write("\\f");
445 out.write(String.format("\\u%04x", (int) c));
450 out.write(String.format("\\u%04x", (int) c));
452 out.write(c);
458 out.write("\"");
466 out.write("\n");
468 out.write(indent);
479 out.write(',');
511 out.append(',');
516 out.append(separator);