01: package org.bouncycastle.i18n;
02:
03: import java.io.UnsupportedEncodingException;
04: import java.util.Locale;
05:
06: public class LocaleString extends LocalizedMessage {
07:
08: public LocaleString(String resource, String id) {
09: super (resource, id);
10: }
11:
12: public LocaleString(String resource, String id, String encoding)
13: throws NullPointerException, UnsupportedEncodingException {
14: super (resource, id, encoding);
15: }
16:
17: public String getLocaleString(Locale locale) {
18: return this.getEntry(null, locale, null);
19: }
20:
21: }
|