I need to create a file with a .bin extension in JAVA, I have searched for an example but I have not found any information yet.
I would appreciate any information.
Thank you, Regards.
I need to create a file with a .bin extension in JAVA, I have searched for an example but I have not found any information yet.
I would appreciate any information.
Thank you, Regards.
Try specifying it with the .bin
extension and you will have a bin file:
File binFile = new File("c:/mi_archivo.bin");
if(!binFile.exists())
{
binFile.createNewFile();
}
If you go to c:/
you find the file bin
.