excel - Converting xls to xlsx in java -
I am converting Xls files into XLSX using software using the following link
I mentioned above By running a software using java, I run the software.
try {string cmds] = {batapath}; Runtime runtime = runtime.at timetime (); Process process = runtime Xac (semi); Process.getOutputStream () pass () .; InputStream inputstream = process.getInputStream (); InputStreamReader inputstream reader = new inputstream reader (inputstream); Buffer Reader buffer reader = new buffedder (inputstream reader); String string = ""; While ((strLine = bufferedrReader.readLine ()) = null) {// System.out.println (strLine); }} Hold (IOException ioException) {ioException.printStackTrace (); }
Every time a converter runs, a dialog box changes upwards that tells to change the files ... The problem is that I can run the software 100 times, but It does interfere with any other work though my program runs in the background.
Is there another way to do this?
See article [upgrade to POI 3.5, SS eSrododel (for XSSF and HSSF) Changing UsorModel Code is included.
Here's an example:
Comments
Post a Comment