There is a converter that I have in a project:

import officetools.OfficeFile;
...
FileInputStream fis = new FileInputStream(new File("test.doc"));
FileOutputStream fos = new...