Top Description Fields Constructors Methods
com.calendarfx.view

public Class Messages

extends Object
Class Inheritance
Imports
java.text.MessageFormat, java.util.MissingResourceException, .ResourceBundle

Utility class for looking up i18n strings.

Field Summary

Modifier and TypeField and Description
private static final String
private static final ResourceBundle

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

the translation
getString
(String
the i18n key
key
)

Returns the translation for the given key.

public static String
getString(String key, Object... args)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BUNDLE_NAMEback to summary
private static final String BUNDLE_NAME
RESOURCE_BUNDLEback to summary
private static final ResourceBundle RESOURCE_BUNDLE

Constructor Detail

Messagesback to summary
private Messages()

Method Detail

getStringback to summary
public static String getString(String key)

Returns the translation for the given key.

Parameters
key:String

the i18n key

Returns:String

the translation

getStringback to summary
public static String getString(String key, Object... args)