In java (and in any other programming language able to create files) you can create any kind of file.
There are libraries to create and manage at least:
- pdf – for example pdfbox
- xls xlsx – Apache poi
- doc docx – Apache poi
- txt csv
- json – Faster jackson
- xml
- yaml
- zip
- jpg gif tif
and all most used formats.
But you can create your format human readable (like txt) or binary (like xls).
Virtually there is no limit on that.
solved what are the different type of files (File type) that we can create in java?