List<String> failed = new ArrayList<String>();
String[] files = new File(dir).list(new FilenameFilter() {
- public boolean accept(File arg0, String arg1) {
+ @Override
+ public boolean accept(File arg0, String arg1) {
return arg1.toLowerCase().endsWith(".xls");
}
});
// EXCLUDED.add("XRefCalc.xls");
// EXCLUDED.add("43493.xls");
// EXCLUDED.add("51832.xls");
- };
+ }
@Override
@Ignore("Not yet done, nearly all files fail with various errors, remove this method when done to use the one from the abstract base class!...")
SILENT_EXCLUDED.add("password.xls");
SILENT_EXCLUDED.add("46904.xls");
SILENT_EXCLUDED.add("xor-encryption-abc.xls"); // unsupported XOR-encryption
- };
+ }
@Override
void runOneFile(String dir, String file, List<String> failed) throws IOException {
// EXCLUDED.add("BOOK_in_capitals.xls");
// EXCLUDED.add("46904.xls");
// EXCLUDED.add("OddStyleRecord.xls");
- };
+ }
@Override
@Ignore("Not yet done, nearly all files fail with various errors, remove this method when done to use the one from the abstract base class!...")
SILENT_EXCLUDED.add("43493.xls"); // HSSFWorkbook cannot open it as well
SILENT_EXCLUDED.add("46904.xls");
SILENT_EXCLUDED.add("51832.xls"); // password
- };
+ }
@Override
void runOneFile(String dir, String file, List<String> failed) throws Exception {
// these are likely ok to fail
SILENT_EXCLUDED.add("46904.xls");
- };
+ }
@Override
void runOneFile(String dir, String file, List<String> failed) throws IOException {