01: package net.sourceforge.squirrel_sql.plugins.dbcopy;
02:
03: import net.sourceforge.squirrel_sql.fw.util.StringManager;
04: import net.sourceforge.squirrel_sql.fw.util.StringManagerFactory;
05:
06: /**
07: * A description of this class goes here...
08: */
09:
10: public abstract class I18NBaseObject {
11:
12: /** Internationalized strings for this class. */
13: private static final StringManager s_stringMgr = StringManagerFactory
14: .getStringManager(I18NBaseObject.class);
15:
16: /**
17: * @param args
18: */
19: public static void main(String[] args) {
20: // TODO Auto-generated method stub
21:
22: }
23:
24: /**
25: *
26: * @param key
27: * @return
28: */
29: protected static String getMessage(String key) {
30: return s_stringMgr.getString(key);
31: }
32:
33: /**
34: *
35: * @param key
36: * @return
37: */
38: protected static String getMessage(String key, Object arg) {
39: return s_stringMgr.getString(key, arg);
40: }
41:
42: /**
43: *
44: * @param key
45: * @return
46: */
47: protected static String getMessage(String key, Object[] args) {
48: return s_stringMgr.getString(key, args);
49: }
50:
51: }
|