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

eu.aronnax.smartconstraints.utils.StringUtilsImpl Maven / Gradle / Ivy

Go to download

Not for public use. `org.apache.commons:commons-lang3` based utils implementation. (Clean Architecture)

There is a newer version: 0.5.1
Show newest version
package eu.aronnax.smartconstraints.utils;

import eu.aronnax.smartconstraints.domain.port.stringutils.StringUtilsPort;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
import org.apache.commons.lang3.StringUtils;

@ApplicationScoped
public class StringUtilsImpl implements StringUtilsPort {

    @Inject
    public StringUtilsImpl() {}

    @Override
    public String capitalize(String str) {
        return StringUtils.capitalize(str);
    }

    @Override
    public boolean isNotBlank(String value) {
        return StringUtils.isNotBlank(value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy