CommentMatcher
public class CommentStartsWith extends Object implements CommentMatcher
Constructor | Description |
---|---|
CommentStartsWith(String value) |
Constructs a new CommentStartsWith comment matcher.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isComment(String line) |
Determines whether a line of CSV is a comment.
|
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–2018 Super CSV. All rights reserved.