protected abstract static class AbstractConfigurationLoader.Builder<T extends AbstractConfigurationLoader.Builder> extends Object
Modifier and Type | Field and Description |
---|---|
protected ConfigurationOptions |
defaultOptions |
protected HeaderMode |
headerMode |
protected Callable<BufferedWriter> |
sink |
protected Callable<BufferedReader> |
source |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract AbstractConfigurationLoader |
build() |
ConfigurationOptions |
getDefaultOptions() |
HeaderMode |
getHeaderMode() |
Callable<BufferedWriter> |
getSink() |
Callable<BufferedReader> |
getSource() |
boolean |
preservesHeader()
Deprecated.
|
T |
setDefaultOptions(ConfigurationOptions defaultOptions) |
T |
setFile(File file) |
T |
setHeaderMode(HeaderMode mode) |
T |
setPath(Path path) |
T |
setPreservesHeader(boolean preservesHeader)
Deprecated.
|
T |
setSink(Callable<BufferedWriter> sink) |
T |
setSource(Callable<BufferedReader> source) |
T |
setURL(URL url) |
protected HeaderMode headerMode
protected Callable<BufferedReader> source
protected Callable<BufferedWriter> sink
protected ConfigurationOptions defaultOptions
public T setSource(Callable<BufferedReader> source)
public T setSink(Callable<BufferedWriter> sink)
public Callable<BufferedReader> getSource()
public Callable<BufferedWriter> getSink()
@Deprecated public T setPreservesHeader(boolean preservesHeader)
@Deprecated public boolean preservesHeader()
public T setHeaderMode(HeaderMode mode)
public HeaderMode getHeaderMode()
public T setDefaultOptions(ConfigurationOptions defaultOptions)
public ConfigurationOptions getDefaultOptions()
public abstract AbstractConfigurationLoader build()
Copyright © 2014–2017. All rights reserved.