class SimpleImaBaselineGenerator {

    public final SimpleImaBaseline generateBaselineFromCSVFile(
            final String baselineName, final InputStream in)
            throws IOException, ParseException, IMABaselineGeneratorException {
        if (baselineName == null) {
            LOGGER.error("null argument: baselineName");
            throw new NullPointerException("baselineName");
        }
        SimpleImaBaseline imaBaseline = new SimpleImaBaseline(baselineName);
        updateBaselineFromCSVFile(imaBaseline, in);
        LOGGER.debug("meaurement baseline initialized: {}", imaBaseline.getName());
        return imaBaseline;
    }

}