public CsvReader ignoreComments ( String commentPrefix ) { if ( commentPrefix == null || commentPrefix . length ( ) == 0 ) { throw new IllegalArgumentException ( "The comment prefix must not be null or an empty string" ) ; } this . commentPrefix = commentPrefix ; return this ; }
Configures the string that starts comments . By default comments will be treated as invalid lines . This function only recognizes comments which start at the beginning of the line!