com.github.thiagogarbazza.domainvalidation.util.PropertieUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of domain-validation Show documentation
Show all versions of domain-validation Show documentation
A simple framework to write domain validation.
package com.github.thiagogarbazza.domainvalidation.util;
import java.util.ResourceBundle;
public class PropertieUtil {
private static final ResourceBundle APPLICATION_BUNDLE = ResourceBundle.getBundle("domain-validation");
public static String getValue(String key) {
return APPLICATION_BUNDLE.getString(key);
}
}