private void loadSystemCodes(final DataContext dataContext) throws IOException {
loadFile("system-codes.txt", dataContext, new LineProcessor() {
public void processLine(String line, DataContext context) {
StringTokenizer tokenizer = new StringTokenizer(line, ",");
SystemCode systemCode = new SystemCode();
systemCode.setName(next(tokenizer));
systemCode.setValue(next(tokenizer));
systemCode.setLabel(next(tokenizer));
systemCode.setOrderBy(Integer.valueOf((next(tokenizer))));
dataContext.registerNewObject(systemCode);
}
});
}