public class CommentMatches extends Object implements CommentMatcher
| Constructor and Description |
|---|
CommentMatches(String regex)
Constructs a new CommentMatches comment matcher.
|
public CommentMatches(String regex)
regex - the regular expression a line must match to be a commentNullPointerException - if regex is nullIllegalArgumentException - if regex is emptyPatternSyntaxException - if the regex is invalidpublic boolean isComment(String line)
isComment in interface CommentMatcherline - the raw line of CSVCopyright © 2007-2013 Super CSV. All Rights Reserved.