org.milyn.fixedlength
Class FixedLengthReaderConfigurator
java.lang.Object
org.milyn.fixedlength.FixedLengthReaderConfigurator
- All Implemented Interfaces:
- ReaderConfigurator
public class FixedLengthReaderConfigurator
- extends Object
- implements ReaderConfigurator
Fixed Length Reader configurator.
Supports programmatic FixedLengthReader configuration on a Smooks instance.
- Author:
- maurice.zeijen@smies.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedLengthReaderConfigurator
public FixedLengthReaderConfigurator(String fields)
setSkipLines
public FixedLengthReaderConfigurator setSkipLines(int skipLines)
setEncoding
public FixedLengthReaderConfigurator setEncoding(Charset encoding)
setRootElementName
public FixedLengthReaderConfigurator setRootElementName(String rootElementName)
setRecordElementName
public FixedLengthReaderConfigurator setRecordElementName(String recordElementName)
setLineNumberAttributeName
public FixedLengthReaderConfigurator setLineNumberAttributeName(String lineNumberAttributeName)
setTruncatedAttributeName
public FixedLengthReaderConfigurator setTruncatedAttributeName(String truncatedAttributeName)
setIndent
public FixedLengthReaderConfigurator setIndent(boolean indent)
setStrict
public FixedLengthReaderConfigurator setStrict(boolean strict)
setBinding
public FixedLengthReaderConfigurator setBinding(FixedLengthBinding binding)
setLineNumber
public FixedLengthReaderConfigurator setLineNumber(boolean lineNumber)
setTargetProfile
public FixedLengthReaderConfigurator setTargetProfile(String targetProfile)
toConfig
public List<SmooksResourceConfiguration> toConfig()
- Specified by:
toConfig in interface ReaderConfigurator
Copyright © 2014. All Rights Reserved.