public static class GsonConfigurationLoader.Builder extends AbstractConfigurationLoader.Builder<GsonConfigurationLoader.Builder>
defaultOptions, headerMode, sink, source
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GsonConfigurationLoader |
build() |
int |
getIndent() |
boolean |
isLenient() |
GsonConfigurationLoader.Builder |
setIndent(int indent) |
GsonConfigurationLoader.Builder |
setLenient(boolean lenient) |
getDefaultOptions, getHeaderMode, getSink, getSource, preservesHeader, setDefaultOptions, setFile, setHeaderMode, setPath, setPreservesHeader, setSink, setSource, setURL
public GsonConfigurationLoader.Builder setIndent(int indent)
public int getIndent()
public GsonConfigurationLoader.Builder setLenient(boolean lenient)
lenient
- Whether the parser should parse lenientlyJsonReader.setLenient(boolean)
public boolean isLenient()
public GsonConfigurationLoader build()
build
in class AbstractConfigurationLoader.Builder<GsonConfigurationLoader.Builder>
Copyright © 2014–2017. All rights reserved.