com.arch.bundle.BundleUtils Maven / Gradle / Ivy
package com.arch.bundle;
import com.arch.util.MessagePropertiesUtils;
import java.util.ResourceBundle;
public final class BundleUtils {
private BundleUtils() {
super();
}
public static ResourceBundle getResourceBundle() {
return ResourceBundle.getBundle("bundle.bundle");
}
public static String messageBundle(String key) {
return MessagePropertiesUtils.messageBundle("bundle.bundle", key);
}
public static String messageBundleParam(String key, String parametro) {
return MessagePropertiesUtils.messageBundleParam("bundle.bundle", key, parametro);
}
public static String messageBundle(String key, Object... parameters) {
return MessagePropertiesUtils.messageBundle("bundle.bundle", key, parameters);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy