public final class LineSplittingParser extends Object implements BasicParser<String[]>
Constructor and Description |
---|
LineSplittingParser() |
LineSplittingParser(String regex) |
LineSplittingParser(String regex,
boolean trim) |
Modifier and Type | Method and Description |
---|---|
String[] |
parse(String line)
Parse one line into some custom object.
|
public LineSplittingParser()
public LineSplittingParser(String regex)
public LineSplittingParser(String regex, boolean trim)
public String[] parse(String line) throws RecoverableCondition
BasicParser
parse
in interface BasicParser<String[]>
line
- The text line to parseRecoverableCondition
Copyright © 2019 Optimatika. All rights reserved.