Fields Summary |
---|
private static final Class | thisClass |
private static final String | projectName |
private static final String | resourceName |
private static final Locale | locale |
private static final String | packageName |
private static final ClassLoader | classLoader |
private static final ResourceBundle | parent |
private static final MessageBundle | messageBundleNO NEED TO CHANGE ANYTHING BELOW |
Methods Summary |
---|
public static java.lang.String | getMessage(java.lang.String key)Get a message from resource.properties from the package of the given object.
return messageBundle.getMessage(key);
|
public static java.lang.String | getMessage(java.lang.String key, java.lang.String arg0)Get a message from resource.properties from the package of the given object.
return messageBundle.getMessage(key, arg0);
|
public static java.lang.String | getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1)Get a message from resource.properties from the package of the given object.
return messageBundle.getMessage(key, arg0, arg1);
|
public static java.lang.String | getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2)Get a message from resource.properties from the package of the given object.
return messageBundle.getMessage(key, arg0, arg1, arg2);
|
public static java.lang.String | getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3)Get a message from resource.properties from the package of the given object.
return messageBundle.getMessage(key, arg0, arg1, arg2, arg3);
|
public static java.lang.String | getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4)Get a message from resource.properties from the package of the given object.
return messageBundle.getMessage(key, arg0, arg1, arg2, arg3, arg4);
|
public static java.lang.String | getMessage(java.lang.String key, java.lang.String[] args)Get a message from resource.properties from the package of the given object.
return messageBundle.getMessage(key, args);
|
public static MessageBundle | getMessageBundle()
return messageBundle;
|
private static final java.lang.String | getPackage(java.lang.String name)
return name.substring(0, name.lastIndexOf('.")).intern();
|
public static java.util.ResourceBundle | getResourceBundle()
return messageBundle.getResourceBundle();
|