class ConfigurationUtil {

  public static Class<? extends InputFormat> getStrategy(Configuration conf, S3MapReduceCpOptions options) {
    String confLabel = "com.hotels.bdp.circustrain.s3mapreducecp."
        + options.getCopyStrategy().toLowerCase(Locale.getDefault())
        + ".strategy.impl";
    return conf.getClass(confLabel, UniformSizeInputFormat.class, InputFormat.class);
  }

  private  ConfigurationUtil();

}