X-Git-Url: http://git.nikiroo.be/?p=jvcard.git;a=blobdiff_plain;f=src%2Fcom%2Fgooglecode%2Flanterna%2Fbundle%2FLocalizedUIBundle.java;fp=src%2Fcom%2Fgooglecode%2Flanterna%2Fbundle%2FLocalizedUIBundle.java;h=0000000000000000000000000000000000000000;hp=a1021afb987c0f5bd9037974d1831985bcc40d09;hb=f06c81000632cfb5f525ca458f719338f55f9f66;hpb=a73a906356c971b080c36368e71a15d87e8b8d31 diff --git a/src/com/googlecode/lanterna/bundle/LocalizedUIBundle.java b/src/com/googlecode/lanterna/bundle/LocalizedUIBundle.java deleted file mode 100644 index a1021af..0000000 --- a/src/com/googlecode/lanterna/bundle/LocalizedUIBundle.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.googlecode.lanterna.bundle; - -import java.util.Locale; - -/** - * This class permits to get easily localized strings about the UI. - * @author silveryocha - */ -public class LocalizedUIBundle extends BundleLocator { - - private static final LocalizedUIBundle MY_BUNDLE = new LocalizedUIBundle("multilang.lanterna-ui"); - - public static String get(String key, String... parameters) { - return get(Locale.getDefault(), key, parameters); - } - - public static String get(Locale locale, String key, String... parameters) { - return MY_BUNDLE.getBundleKeyValue(locale, key, (Object[])parameters); - } - - private LocalizedUIBundle(final String bundleName) { - super(bundleName); - } -}