Class CsvParser.DSL
java.lang.Object
org.simpleflatmapper.lightningcsv.CsvParser.AbstractDSL<CsvParser.DSL>
org.simpleflatmapper.lightningcsv.CsvParser.DSL
- Enclosing class:
CsvParser
DSL for csv parsing.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.simpleflatmapper.lightningcsv.CsvParser.AbstractDSL
CsvParser.AbstractDSL.StringPostProcessing -
Field Summary
Fields inherited from class org.simpleflatmapper.lightningcsv.CsvParser.AbstractDSL
bufferSize, cellConsumerWrapper, escapeChar, limit, maxBufferSize, parallelReader, quoteChar, separatorChar, skip, specialisedCharConsumer, stringPostProcessing, yamlComment -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDSL()protectedDSL(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 Summary
Modifier and TypeMethodDescriptionprotected CsvParser.DSLnewDSL(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) will parse line starting with # as yaml comment.will parse line starting with # as yaml comment.Methods inherited from class org.simpleflatmapper.lightningcsv.CsvParser.AbstractDSL
bufferSize, bufferSize, charBuffer, charBuffer, charBuffer, charBuffer, charConsumer, disableSpecialisedCharConsumer, escape, forEach, forEach, forEach, forEach, getCellTransformer, getTextFormat, getUnescapeCellTransformer, iterator, iterator, iterator, iterator, limit, limit, maxBufferSize, maxBufferSize, parallelReader, parse, parse, parse, parse, quote, quote, reader, reader, reader, reader, reader, rowIterator, rowIterator, rowIterator, rowIterator, rowStream, rowStream, rowStream, rowStream, separator, separator, serialReader, skip, skip, stream, stream, stream, stream, stream
-
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
-
withYamlComments
will parse line starting with # as yaml comment. comments line will be ignored unless using the special foreach call.- Returns:
- this
-
withYamlCommentsAsCell
will parse line starting with # as yaml comment. comments line will be come as a row of 1 cell.- Returns:
- this
-
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:
newDSLin classCsvParser.AbstractDSL<CsvParser.DSL>
-