private static class PrettyPrint.PrettyPrintWriter extends JsonWriter
| Modifier and Type | Field and Description |
|---|---|
private int |
indent |
private char[] |
indentChars |
writer| Modifier | Constructor and Description |
|---|---|
private |
PrettyPrintWriter(Writer writer,
char[] indentChars) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeArrayClose() |
protected void |
writeArrayOpen() |
protected void |
writeArraySeparator() |
protected void |
writeMemberSeparator() |
private boolean |
writeNewLine() |
protected void |
writeObjectClose() |
protected void |
writeObjectOpen() |
protected void |
writeObjectSeparator() |
writeJsonString, writeLiteral, writeMemberName, writeNumber, writeStringprivate PrettyPrintWriter(Writer writer, char[] indentChars)
protected void writeArrayOpen()
throws IOException
writeArrayOpen in class JsonWriterIOExceptionprotected void writeArrayClose()
throws IOException
writeArrayClose in class JsonWriterIOExceptionprotected void writeArraySeparator()
throws IOException
writeArraySeparator in class JsonWriterIOExceptionprotected void writeObjectOpen()
throws IOException
writeObjectOpen in class JsonWriterIOExceptionprotected void writeObjectClose()
throws IOException
writeObjectClose in class JsonWriterIOExceptionprotected void writeMemberSeparator()
throws IOException
writeMemberSeparator in class JsonWriterIOExceptionprotected void writeObjectSeparator()
throws IOException
writeObjectSeparator in class JsonWriterIOExceptionprivate boolean writeNewLine()
throws IOException
IOExceptionCopyright © 2011–2016 David R. Smith. All rights reserved.