Create a temporary java.io.File from byte[]
File tempFile = File.createTempFile(prefix, suffix, null);FileOutputStream fos = new FileOutputStream(tempFile);fos.write(byteArray);
Check out related docs:
File tempFile = File.createTempFile(prefix, suffix, null);FileOutputStream fos = new FileOutputStream(tempFile);fos.write(byteArray);
Check out related docs: