public class CommentStartsWith extends Object implements CommentMatcher
Constructor and Description |
---|
CommentStartsWith(String value)
Constructs a new CommentStartsWith comment matcher.
|
public CommentStartsWith(String value)
value
- the String a line must start with to be a commentNullPointerException
- if value is nullIllegalArgumentException
- if value is emptypublic boolean isComment(String line)
isComment
in interface CommentMatcher
line
- the raw line of CSVCopyright © 2007-2013 Super CSV. All Rights Reserved.