public class EmitterConfig extends Object
| Constructor and Description |
|---|
EmitterConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
setCanonical(boolean canonical)
If true, the YAML output will be canonical.
|
void |
setEscapeUnicode(boolean escapeUnicode)
If false, UTF-8 unicode characters will be output instead of the escaped unicode character code.
|
void |
setIndentSize(int indentSize)
Sets the number of spaces to indent.
|
void |
setUseVerbatimTags(boolean useVerbatimTags)
If false, tags will never be surrounded by angle brackets (eg, "!<java.util.LinkedList>").
|
void |
setVersion(Version version)
Sets the YAML version to output.
|
void |
setWrapColumn(int wrapColumn)
Sets the column at which values will attempt to wrap.
|
public void setVersion(Version version)
public void setCanonical(boolean canonical)
public void setIndentSize(int indentSize)
public void setWrapColumn(int wrapColumn)
public void setUseVerbatimTags(boolean useVerbatimTags)
public void setEscapeUnicode(boolean escapeUnicode)
Copyright © 2020. All rights reserved.