![JAR search and dependency download from the Maven repository](/logo.png)
de.carne.jfx.scene.control.aboutinfo.AboutInfoI18N Maven / Gradle / Ivy
Show all versions of java-jfx Show documentation
/*
* I18N resource strings (automatically generated - do not edit)
*/
package de.carne.jfx.scene.control.aboutinfo;
import java.text.MessageFormat;
import java.util.ResourceBundle;
/**
* Resource bundle: de/carne/jfx/scene/control/aboutinfo/AboutInfoI18N.properties
*/
public final class AboutInfoI18N {
/**
* The name of the {@linkplain ResourceBundle} wrapped by this class.
*/
public static final String BUNDLE_NAME = AboutInfoI18N.class.getName();
/**
* The {@linkplain ResourceBundle} wrapped by this class.
*/
public static final ResourceBundle BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
private AboutInfoI18N() {
// 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_STAGE_TITLE}
*
* About {0}
*/
public static final String STR_STAGE_TITLE = "STR_STAGE_TITLE";
/**
* Resource string {@code STR_STAGE_TITLE}
*
* About {0}
*
* @param arguments Format arguments.
* @return The formatted string.
*/
public static String strStageTitle(Object... arguments) {
return format(STR_STAGE_TITLE, arguments);
}
/**
* Resource key {@code STR_TEXT_HEADER}
*
* {0}
Version: {1}
Build: {2}
*/
public static final String STR_TEXT_HEADER = "STR_TEXT_HEADER";
/**
* Resource string {@code STR_TEXT_HEADER}
*
* {0}
Version: {1}
Build: {2}
*
* @param arguments Format arguments.
* @return The formatted string.
*/
public static String strTextHeader(Object... arguments) {
return format(STR_TEXT_HEADER, arguments);
}
}