Enclosing class:
CsvParser

public static final class CsvParser.DSL extends CsvParser.AbstractDSL<CsvParser.DSL>
DSL for csv parsing.
See Also:
  • Constructor Details

    • DSL

      protected DSL()
    • DSL

      protected DSL(char separatorChar, char quoteChar, char escapeChar, int bufferSize, int skip, int limit, int maxBufferSize, CsvParser.AbstractDSL.StringPostProcessing stringPostProcessing, org.simpleflatmapper.util.Function<? super CellConsumer,? extends CellConsumer> cellConsumerWrapper, boolean yamlComment, boolean parallelReader, boolean specialisedCharConsumer)
  • Method Details

    • trimSpaces

      public CsvParser.DSL trimSpaces()
    • withYamlComments

      public CsvParser.DSLYamlComment withYamlComments()
      will parse line starting with # as yaml comment. comments line will be ignored unless using the special foreach call.
      Returns:
      this
    • withYamlCommentsAsCell

      public CsvParser.DSLYamlComment withYamlCommentsAsCell()
      will parse line starting with # as yaml comment. comments line will be come as a row of 1 cell.
      Returns:
      this
    • disableUnescaping

      public CsvParser.DSL disableUnescaping()
    • newDSL

      protected CsvParser.DSL newDSL(char separatorChar, char quoteChar, char escapeChar, int bufferSize, int skip, int limit, int maxBufferSize, CsvParser.AbstractDSL.StringPostProcessing stringPostProcessing, org.simpleflatmapper.util.Function<? super CellConsumer,? extends CellConsumer> cellConsumerWrapper, boolean yamlComment, boolean parallelReader, boolean specialisedCharConsumer)
      Specified by:
      newDSL in class CsvParser.AbstractDSL<CsvParser.DSL>