use of kieker.analysisteetime.plugin.reader.filesystem.className.ClassNameRegistry in project iobserve-analysis by research-iobserve.
the class DatFileToRecordStage method execute.
@Override
protected void execute(final File textFile) {
final ClassNameRegistry classNameRegistry = this.classNameRegistryRepository.get(textFile.getParentFile());
try {
final FileInputStream inputStream = new FileInputStream(textFile);
if (inputStream != null) {
this.processInputChannel(classNameRegistry, inputStream);
inputStream.close();
}
} catch (final FileNotFoundException e) {
this.logger.error("", e);
} catch (final IOException e) {
this.logger.error("", e);
} catch (final MappingException e) {
this.logger.error("", e);
} catch (final MonitoringRecordException e) {
this.logger.error("", e);
} catch (final UnknownRecordTypeException e) {
this.logger.error("", e);
}
}
Aggregations