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.TextGeneratorpublic void outdent()
outdent in interface JsonFormat.TextGeneratorpublic void print(java.lang.CharSequence text)
throws java.io.IOException
print in interface JsonFormat.TextGeneratorjava.io.IOException