protected void initReaders() {
String fFile = prop.getProperty("tf.feature.file");
try {
if (featureReader == null)
setFeatureReader(new FileReader(new File(folder, fFile)));
} catch (FileNotFoundException ex) {
logger.fatal("Couldn't find " + fFile);
}
String eFile = prop.getProperty("tf.event.file");
try {
if (eventReader == null)
setEventReader(new FileReader(new File(folder, eFile)));
} catch (FileNotFoundException ex) {
logger.fatal("Couldn't find " + eFile);
}
String pFile = prop.getProperty("tf.person.file");
try {
if (personReader == null)
setPersonReader(new FileReader(new File(folder, pFile)));
} catch (FileNotFoundException ex) {
logger.fatal("Couldn't find " + pFile);
}
String lFile = prop.getProperty("tf.location.file");
try {
if (locationReader == null)
setLocationReader(new FileReader(new File(folder, lFile)));
} catch (FileNotFoundException ex) {
logger.fatal("Couldn't find " + lFile);
}
}