package net.sf.jpluck.test;
import java.io.File;
import net.sf.jpluck.jxl.JXL;
public class JXLTest {
public static void main(String[] args) throws Exception {
File file = new File(args[0]);
String filename = file.getAbsolutePath();
long before = System.currentTimeMillis();
JXL jxl = new JXL(file);
long after = System.currentTimeMillis();
System.out.println((after-before) + "ms");
before = System.currentTimeMillis();
jxl = new JXL(file);
after = System.currentTimeMillis();
System.out.println((after-before) + "ms");
/*filename = filename.replaceAll("\\.jxl", "_new.jxl");
jxl.save(new File(filename));*/
}
}