Return a temp file without creating one on disk

Posted on December 27, 2022 in Daily-Java

Context of the problem:

Last problem (flattening map of ) was about preparing the data for creating the CSV file. This problem is about creating the CSV file itself. The file is to be created in memory and returned to the caller. The caller is a ReST endpoint that will stream …


Continue reading

Flatten nested map with custom type as values

Posted on December 26, 2022 in Daily-Java

Context of the problem:

Last week, there was a feature request to re-create a downloadable CSV file and delete it as soon as the file is downloaded. The file can be quite large, so it's not a good idea to store it on disk, even on the temp folder of …


Continue reading