All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.smartling.maven.plugins.smartlingapi.mojo.Prepend Maven / Gradle / Ivy

The newest version!
package com.smartling.maven.plugins.smartlingapi.mojo;

import org.apache.commons.lang3.StringUtils;

public class Prepend extends NameTransformer
{
    private String value = StringUtils.EMPTY;

    public String getValue()
    {
        return value;
    }

    public void setValue(final String value)
    {
        this.value = value;
    }

    @Override
    public String transform(final String name, final String locale)
    {
        return injectLocale(value, locale) + name;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy