Package org.kohsuke.args4j
Interface Localizable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringformat(java.lang.Object... args)Format the implicitly given message bythisobject with the default locale.java.lang.StringformatWithLocale(java.util.Locale locale, java.lang.Object... args)Format the implicitly given message bythisobject with the given locale.
-
-
-
Method Detail
-
formatWithLocale
java.lang.String formatWithLocale(java.util.Locale locale, java.lang.Object... args)Format the implicitly given message bythisobject with the given locale.- Parameters:
locale- the locale to use for formatting .args- the arguments to use for formatting. SeeMessageFormat.format(java.lang.String, java.lang.Object...).- Returns:
- the formatted string.
-
format
java.lang.String format(java.lang.Object... args)
Format the implicitly given message bythisobject with the default locale.- Parameters:
args- the arguments to use for formatting. SeeMessageFormat.format(java.lang.String, java.lang.Object...).- Returns:
- the formatted string.
-
-