C
- the type of the RbfLowLevelConfigurationpublic abstract class RbfConfiguration<C extends RbfLowLevelConfiguration> extends Configuration<RbfTypeMappingRegistry,RbfEntryPoint>
Configuration.Defaults
Modifier | Constructor and Description |
---|---|
|
RbfConfiguration()
Constructs a new
RbfConfiguration . |
protected |
RbfConfiguration(RbfConfiguration<C> other)
Constructs a new
RbfConfiguration as a copy of the given one. |
Modifier and Type | Method and Description |
---|---|
protected abstract C |
createDefaultLowLevelConfiguration()
Creates the default low level configuration to be used if none is explicitly given.
|
protected RbfTypeMappingRegistry |
createDefaultTypeMappingRegistry()
Creates the default type mapping registry to be used if none is explicitly given.
|
LineFilter |
getLineFilter()
Returns the line filter used to filter lines from an input stream.
|
Integer |
getLineFilterLimit()
Returns the maximum number of characters to read from a line for passing it to a
LineFilter . |
C |
getLowLevelConfiguration()
Returns the low level configuration object.
|
Character |
getSpecialRecordDelimiter() |
void |
setLineFilter(LineFilter lineFilter)
Sets the line filter to use for filtering lines from an input stream.
|
void |
setLineFilterLimit(Integer lineFilterLimit)
Sets the maximum number of characters to read from a line for passing it to a
LineFilter . |
void |
setLowLevelConfiguration(C lowLevelConfig)
Sets the low level configuration object.
|
void |
setSpecialRecordDelimiter(Character delimiter)
Sets a special record delimiter.
|
createCopy, getEntryPoints, getObjectAccessorProvider, getSimpleTypeConverterProvider, getTypeMappingRegistry, getValidationMode, getValidatorProvider, setEntryPoints, setObjectAccessorProvider, setSimpleTypeConverterProvider, setTypeMappingRegistry, setValidationMode, setValidatorProvider
public RbfConfiguration()
RbfConfiguration
.protected RbfConfiguration(RbfConfiguration<C> other)
RbfConfiguration
as a copy of the given one.other
- the other configpublic LineFilter getLineFilter()
public void setLineFilter(LineFilter lineFilter)
lineFilter
- the line filterpublic Character getSpecialRecordDelimiter()
public void setSpecialRecordDelimiter(Character delimiter)
delimiter
- the delimiterpublic Integer getLineFilterLimit()
LineFilter
.
This limit is only used if a special record delimiter is set.
LineFilter
.public void setLineFilterLimit(Integer lineFilterLimit)
LineFilter
.
This limit is only used if a special record delimiter is set.
lineFilterLimit
- the maximum number of characters to readpublic C getLowLevelConfiguration()
public void setLowLevelConfiguration(C lowLevelConfig)
lowLevelConfig
- the low level configuration object.protected RbfTypeMappingRegistry createDefaultTypeMappingRegistry()
createDefaultTypeMappingRegistry
in class Configuration<RbfTypeMappingRegistry,RbfEntryPoint>
protected abstract C createDefaultLowLevelConfiguration()
Copyright © 2014. All rights reserved.