@Override
public void initialize(Map<String, Object> properties) throws ReportException {
this.fileName = (String) properties.get(PROPERTY_FILENAME);
if (this.fileName == null) {
throw new ReportException("Property " + PROPERTY_FILENAME + " is not specified.");
}
}