public class CommentStartsWith extends java.lang.Object implements CommentMatcher
Constructor and Description |
---|
CommentStartsWith(java.lang.String value)
Constructs a new CommentStartsWith comment matcher.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isComment(java.lang.String line)
Determines whether a line of CSV is a comment.
|
public CommentStartsWith(java.lang.String value)
value
- the String a line must start with to be a commentjava.lang.NullPointerException
- if value is nulljava.lang.IllegalArgumentException
- if value is emptypublic boolean isComment(java.lang.String line)
isComment
in interface CommentMatcher
line
- the raw line of CSVCopyright © 2007-2014 Super CSV. All Rights Reserved.