private static final class JsonFormat.CompactTextGenerator extends java.lang.Object implements JsonFormat.TextGenerator
Modifier and Type | Field and Description |
---|---|
private java.lang.Appendable |
output |
Modifier | Constructor and Description |
---|---|
private |
CompactTextGenerator(java.lang.Appendable output) |
Modifier and Type | Method and Description |
---|---|
void |
indent()
ignored by compact printer
|
void |
outdent()
ignored by compact printer
|
void |
print(java.lang.CharSequence text)
Print text to the output stream.
|
public void indent()
indent
in interface JsonFormat.TextGenerator
public void outdent()
outdent
in interface JsonFormat.TextGenerator
public void print(java.lang.CharSequence text) throws java.io.IOException
print
in interface JsonFormat.TextGenerator
java.io.IOException