public void parse(InputStream input, File file, IRecordSaver saver) throws Exception {
logger.info("super.parse()");
// for testing purposes
for(int i = 0; i < 2; i++) {
RecordData record = new RecordData(i + "", "<record><id>" + i + "</id><title>Title " + i + "</title></record>", false);
saver.save(record);
}
for(int i = 2; i < 4; i++) {
RecordData record = new RecordData(i + "", "<record />", true);
saver.save(record);
}
}