JSXPrettyPrinterType, Closeable, AutoCloseablepublic final class JSXPrettyPrinterMarkupStyle extends Object implements JSXPrettyPrinterType
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
static JSXPrettyPrinterType |
newPrinterWithWidthIndent(Writer in_out,
int in_width,
int in_indent) |
Create a new pretty printer.
|
void |
print(SExpressionType e) |
Format the given expression and print to the output.
|
public static JSXPrettyPrinterType newPrinterWithWidthIndent(Writer in_out, int in_width, int in_indent)
in_out - The output writerin_width - The maximum output width (note that unbreakable lines may
exceed this width)in_indent - The indent for nested expressionspublic void print(SExpressionType e) throws IOException
JSXPrettyPrinterTypeprint in interface JSXPrettyPrinterTypee - The expressionIOException - On I/O errorspublic void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionCopyright © 2017 <code@io7m.com> http://io7m.com