FileDocCategorySizeDatePackage
Messages.javaAPI DocApache Axis 1.46616Sat Apr 22 18:57:28 BST 2006org.apache.axis.utils

Messages

public class Messages extends Object
see
org.apache.axis.i18n.Messages
author
Richard A. Sitze (rsitze@us.ibm.com)
author
Karl Moss (kmoss@macromedia.com)
author
Glen Daniels (gdaniels@apache.org)

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 org.apache.axis.i18n.MessageBundle
messageBundle
NO NEED TO CHANGE ANYTHING BELOW
Constructors Summary
Methods Summary
public static java.lang.StringgetMessage(java.lang.String key)
Get a message from resource.properties from the package of the given object.

param
caller The calling object, used to get the package name and class loader
param
locale The locale
param
key The resource key
return
The formatted message


                                                 
        
         
    
        return messageBundle.getMessage(key);
    
public static java.lang.StringgetMessage(java.lang.String key, java.lang.String arg0)
Get a message from resource.properties from the package of the given object.

param
caller The calling object, used to get the package name and class loader
param
locale The locale
param
key The resource key
param
arg0 The argument to place in variable {0}
return
The formatted message

        return messageBundle.getMessage(key, arg0);
    
public static java.lang.StringgetMessage(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.

param
caller The calling object, used to get the package name and class loader
param
locale The locale
param
key The resource key
param
arg0 The argument to place in variable {0}
param
arg1 The argument to place in variable {1}
return
The formatted message

        return messageBundle.getMessage(key, arg0, arg1);
    
public static java.lang.StringgetMessage(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.

param
caller The calling object, used to get the package name and class loader
param
locale The locale
param
key The resource key
param
arg0 The argument to place in variable {0}
param
arg1 The argument to place in variable {1}
param
arg2 The argument to place in variable {2}
return
The formatted message

        return messageBundle.getMessage(key, arg0, arg1, arg2);
    
public static java.lang.StringgetMessage(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.

param
caller The calling object, used to get the package name and class loader
param
locale The locale
param
key The resource key
param
arg0 The argument to place in variable {0}
param
arg1 The argument to place in variable {1}
param
arg2 The argument to place in variable {2}
param
arg3 The argument to place in variable {3}
return
The formatted message

        return messageBundle.getMessage(key, arg0, arg1, arg2, arg3);
    
public static java.lang.StringgetMessage(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.

param
caller The calling object, used to get the package name and class loader
param
locale The locale
param
key The resource key
param
arg0 The argument to place in variable {0}
param
arg1 The argument to place in variable {1}
param
arg2 The argument to place in variable {2}
param
arg3 The argument to place in variable {3}
param
arg4 The argument to place in variable {4}
return
The formatted message

        return messageBundle.getMessage(key, arg0, arg1, arg2, arg3, arg4);
    
public static java.lang.StringgetMessage(java.lang.String key, java.lang.String[] args)
Get a message from resource.properties from the package of the given object.

param
caller The calling object, used to get the package name and class loader
param
locale The locale
param
key The resource key
param
array An array of objects to place in corresponding variables
return
The formatted message

        return messageBundle.getMessage(key, args);
    
public static org.apache.axis.i18n.MessageBundlegetMessageBundle()

        return messageBundle;
    
private static final java.lang.StringgetPackage(java.lang.String name)

        return name.substring(0, name.lastIndexOf('.")).intern();
    
public static java.util.ResourceBundlegetResourceBundle()

        return messageBundle.getResourceBundle();