public class BinderOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ENCODING |
static String |
ENCODING_UTF_8 |
| Constructor and Description |
|---|
BinderOptions()
Constructor,
encoding defaults to utf-8, indent defaults to false.
|
| Modifier and Type | Method and Description |
|---|---|
static BinderOptions |
build()
Builder for format class
|
BinderOptions |
encoding(String value) |
String |
getEncoding()
Get the file encoding setting
|
BinderOptions |
indent(boolean value) |
boolean |
isIndent() |
boolean |
isUseApostrophe() |
BinderOptions |
useApostrophe(boolean useApostrophe)
if true use apostrophe to delimit strings.
|
public static final String DEFAULT_ENCODING
public static final String ENCODING_UTF_8
public BinderOptions()
public static BinderOptions build()
public boolean isUseApostrophe()
public BinderOptions useApostrophe(boolean useApostrophe)
public BinderOptions encoding(String value)
public String getEncoding()
public BinderOptions indent(boolean value)
public boolean isIndent()
Copyright © 2016. All rights reserved.