Skip to content

Tag: csv

How do I count word occurrences in a csv file?

I have a CSV file that I need to read and display the number of occurrences of each word, the application should only count words that have more than one letter and not alphanumerical also turned to lowercase. This is what I have right now and I’m stuck at this and have no ideas where to go from this. I

HttpMessageConverter for Single Object and List of Object

I have an Object (here: Property) and I want to add csv export ability to my Spring Backend for single and list of objects. I added this to my config: and the Property Converter looks like this: This code works for a Single Property. When I try to return a list of Properties: I tried to add a PropertyListConv…

creating exploitable .csv file for java program

I’m both new to JAVA and .csv file so bear with me please! Here’s my problem, i have this word file : basically i have a theme (here Science) a difficulty level, a question number, a question, available answers and a right answer I would like to be able to create a .csv file that i could then expl…

Zipping CSV file using Java produces zip file with lesser bytes

I’ve a simple Java code which creates a ZIP file using one CSV file. The code is working fine and produces the zip file just right. But, the zip file size(bytes) are different that the one I create using Windows zipping tool or something like 7zip. I need to know if there is any Java library which can c…