public class DelimitedTextSequencer extends AbstractTextSequencer
regular-expression pattern to split incoming rows
into columns. By default, this class uses the pattern "," to parse files on commas.AbstractTextSequencer,
PatternSequencer.Context| Constructor and Description |
|---|
DelimitedTextSequencer() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
parseLine(String line)
Parse the given row into its constituent columns.
|
void |
setSplitPattern(String regularExpression)
Sets the regular expression to use to split incoming rows.
|
execute, getCommentMarker, getMaximumLinesToRead, getRowFactoryClassName, initialize, setCommentMarker, setMaximumLinesToRead, setRowFactoryClassNamegetAcceptedMimeTypes, getLogger, getName, getPathExpressions, getRepositoryName, getUniqueId, hasAcceptedMimeTypes, isAccepted, registerDefaultMimeTypes, registerNamespace, registerNodeTypes, registerNodeTypes, toStringpublic void setSplitPattern(String regularExpression) throws PatternSyntaxException
regularExpression - the regular expression to use to split incoming rows; may not be null.PatternSyntaxException - if regularExpression does not represent a valid regular expression that can be
compiled into a pattern.protected String[] parseLine(String line)
AbstractTextSequencerparseLine in class AbstractTextSequencerline - the row to be parsedCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.