Package org.daisy.dotify.common.text
Class SplitResult
- java.lang.Object
-
- org.daisy.dotify.common.text.SplitResult
-
public class SplitResult extends Object
Data object returned by StringSplitter containing a sub sequence along with match status for the sub sequence.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getText()
Gets the text in this result.boolean
isMatch()
Returns true if this sub sequence matched the regular expression used when creating this SplitResult.
-
-
-
Method Detail
-
getText
public String getText()
Gets the text in this result.- Returns:
- returns the text in this result
-
isMatch
public boolean isMatch()
Returns true if this sub sequence matched the regular expression used when creating this SplitResult.- Returns:
- returns true if this sub sequence matched the regular expression, false otherwise
-
-