public static final class StrictCharacterStreamJsonWriterSettings.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
StrictCharacterStreamJsonWriterSettings |
build()
Build a JsonWriterSettings instance.
|
StrictCharacterStreamJsonWriterSettings.Builder |
indent(boolean indent)
Sets whether indentation is enabled.
|
StrictCharacterStreamJsonWriterSettings.Builder |
indentCharacters(java.lang.String indentCharacters)
Sets the indent character string to use when indentation is enabled.
|
StrictCharacterStreamJsonWriterSettings.Builder |
maxLength(int maxLength)
Sets the maximum length of the JSON string.
|
StrictCharacterStreamJsonWriterSettings.Builder |
newLineCharacters(java.lang.String newLineCharacters)
Sets the new line character string to use when indentation is enabled.
|
public StrictCharacterStreamJsonWriterSettings build()
public StrictCharacterStreamJsonWriterSettings.Builder indent(boolean indent)
indent
- whether indentation is enabledpublic StrictCharacterStreamJsonWriterSettings.Builder newLineCharacters(java.lang.String newLineCharacters)
newLineCharacters
- the non-null new line character stringpublic StrictCharacterStreamJsonWriterSettings.Builder indentCharacters(java.lang.String indentCharacters)
indentCharacters
- the non-null indent character stringpublic StrictCharacterStreamJsonWriterSettings.Builder maxLength(int maxLength)
maxLength
- the maximum length, which must be >= 0 where 0 indicate no maximum lengthCopyright © 2010 - 2020 Adobe. All Rights Reserved