eu.aronnax.smartconstraints.utils.StringUtilsImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartconstraints-utils-apachecommons3 Show documentation
Show all versions of smartconstraints-utils-apachecommons3 Show documentation
Not for public use. `org.apache.commons:commons-lang3` based utils implementation. (Clean Architecture)
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