I have been searching but i dont have a clear vision on this topic.
Is it possible to verify if a csv is corrupted before opening it?
For example:
Workbook book = new Workbook();
book.getWorksheets().get(0).getCells().importCSV(f, options, 0, 0);
Please note, a CSV file is a text file having contents/data or text in it. So, how could we know if it has different/irrelevant data or corrupt data because a corrupted text would be taken as plain data for text file type. In short, a file of text type may not be verified if it has corrupted data or irrelevant data in it.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.