uniVocity / univocity-parsers

uniVocity-parsers is a suite of extremely fast and reliable parsers for Java. It provides a consistent interface for handling different file formats, and a solid framework for the development of new parsers.
917 stars 252 forks source link

FixedWithParserSettings returns 'null' for empty fields #465

Closed karlschultzpareto closed 3 years ago

karlschultzpareto commented 3 years ago

The FixedWidthParserSetting class doesn't seem to provide a way to specify returning something different than 'null' when a field is missing/empty. I see this functionality in the CSVParserSetting class. Is there a way to do this with a FixedWidthParser?

karlschultzpareto commented 3 years ago

Using setNullValue for now.