JSXPrettyPrinterType, java.io.Closeable, java.lang.AutoCloseablepublic final class JSXPrettyPrinterMarkupStyle extends java.lang.Object implements JSXPrettyPrinterType
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
static JSXPrettyPrinterType |
newPrinterWithWidthIndent(java.io.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(java.io.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 java.io.IOException
JSXPrettyPrinterTypeprint in interface JSXPrettyPrinterTypee - The expressionjava.io.IOException - On I/O errorspublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeablejava.io.IOExceptionCopyright © 2017 <code@io7m.com> http://io7m.com