package ru.yandex.autotests.direct.utils.converter;

import org.apache.commons.beanutils.Converter;

/**
 * Created with IntelliJ IDEA.
 * User: pavryabov
 * Date: 19.12.13
 * Time: 16:53
 * To change this template use File | Settings | File Templates.
 */
public class BillingEnvironmentConverter implements Converter {
    @Override
    public Object convert(Class aClass, Object o) {
        return Enum.valueOf(aClass, o.toString().toUpperCase().trim());
    }
}
