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.
918 stars 251 forks source link

How can i stop parsing a file when a certain condition is met #467

Open apoorv-28 opened 3 years ago

apoorv-28 commented 3 years ago

I am parsing a csv file and i want to stop the parsing if certain condition is met in my application, but it looks like it parses all the records in one go and any change to my variable which i need to check to stop parsing will not be caught