package de.ivu.elect.business.exchange.control;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

import javax.ejb.Stateless;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *  on 04.01.2017.
 */
@Stateless
public class DateienImportierenBackgroundServiceDatenCreator extends AbstractDatenCreator {
  private static final Logger LOG = LoggerFactory.getLogger(DateienImportierenBackgroundServiceDatenCreator.class);

  @Override
  public Logger getLog() {
    return LOG;
  }

  @Override
  protected InputStream getInputStream(String filePath) throws FileNotFoundException {
    return new FileInputStream(filePath);
  }
}
