public class FileSplitterSpec extends MessageHandlerSpec<FileSplitterSpec,org.springframework.integration.file.splitter.FileSplitter>
MessageHandlerSpec
for the FileSplitter
.logger, PARSER, target
Modifier and Type | Method and Description |
---|---|
FileSplitterSpec |
applySequence(boolean applySequence)
A
boolean flag to indicate if sequenceDetails should be
applied for messages based on the lines from file. |
FileSplitterSpec |
charset(java.nio.charset.Charset charset) |
FileSplitterSpec |
charset(java.lang.String charset) |
protected org.springframework.integration.file.splitter.FileSplitter |
doGet() |
FileSplitterSpec |
markers()
Specify if
FileSplitter should emit
FileSplitter.FileMarker s
Defaults to false . |
FileSplitterSpec |
markers(boolean asJson)
Specify if
FileSplitter should emit
FileSplitter.FileMarker s
and if they should be converted to the JSON string representation. |
_this, get, getId, getObject, getObjectType, id, isSingleton
public FileSplitterSpec charset(java.lang.String charset)
public FileSplitterSpec charset(java.nio.charset.Charset charset)
public FileSplitterSpec markers()
FileSplitter
should emit
FileSplitter.FileMarker
s
Defaults to false
.FileSplitter
public FileSplitterSpec markers(boolean asJson)
FileSplitter
should emit
FileSplitter.FileMarker
s
and if they should be converted to the JSON string representation.
Defaults to false
for markers and false
for markersJson.asJson
- the asJson flag to use.FileSplitter
public FileSplitterSpec applySequence(boolean applySequence)
boolean
flag to indicate if sequenceDetails
should be
applied for messages based on the lines from file.
Defaults to false
.applySequence
- the applySequence flag to use.AbstractMessageSplitter.setApplySequence(boolean)
protected org.springframework.integration.file.splitter.FileSplitter doGet()
doGet
in class IntegrationComponentSpec<FileSplitterSpec,org.springframework.integration.file.splitter.FileSplitter>