}
else if (outpath.getName().endsWith(".ods")) {
in = FormUtils.class.getResourceAsStream("/forms/ods/plate_input.ods");
if (in != null) {
OdfSpreadsheetDocument oDoc = OdfSpreadsheetDocument.loadDocument(in);
oDoc.save(outpath);
}
else {
throw new IOException("Could not read from resource.");
}
}