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

de.carne.jfx.util.validation.ValidationAlertsI18N Maven / Gradle / Ivy

The newest version!
/*
 * I18N resource strings (automatically generated - do not edit)
 */
package de.carne.jfx.util.validation;

import java.text.MessageFormat;
import java.util.ResourceBundle;

/**
 * Resource bundle: de/carne/jfx/util/validation/ValidationAlertsI18N.properties
 */
public final class ValidationAlertsI18N {

	/**
	 * The name of the {@linkplain ResourceBundle} wrapped by this class.
	 */
	public static final String BUNDLE_NAME = ValidationAlertsI18N.class.getName();

	/**
	 * The {@linkplain ResourceBundle} wrapped by this class.
	 */
	public static final ResourceBundle BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);

	private ValidationAlertsI18N() {
		// Prevent instantiation
	}

	/**
	 * Format a resource string.
	 * @param key The resource key.
	 * @param arguments Format arguments.
	 * @return The formatted string.
	 */
	public static String format(String key, Object... arguments) {
		String pattern = BUNDLE.getString(key);

		return MessageFormat.format(pattern, arguments);
	}

	/**
	 * Resource key {@code STR_MESSAGE_VALIDATION_ERROR}
	 * 

* Validation error */ public static final String STR_MESSAGE_VALIDATION_ERROR = "STR_MESSAGE_VALIDATION_ERROR"; /** * Resource string {@code STR_MESSAGE_VALIDATION_ERROR} *

* Validation error * * @param arguments Format arguments. * @return The formatted string. */ public static String strMessageValidationError(Object... arguments) { return format(STR_MESSAGE_VALIDATION_ERROR, arguments); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy