org.apache.ws.util.i18n
Interface Messages

All Known Implementing Classes:
AbstractMessages

public interface Messages

Provides methods for retrieving i18n messages.

Author:
Ian P. Springer

Method Summary
 java.lang.String getMessage(java.lang.String key)
          Get a message from resource.properties from the package of the given object.
 java.lang.String getMessage(java.lang.String key, java.lang.Object arg0)
          Get a message from resource.properties from the package of the given object.
 java.lang.String getMessage(java.lang.String key, java.lang.Object arg0, java.lang.Object arg1)
          Get a message from resource.properties from the package of the given object.
 java.lang.String getMessage(java.lang.String key, java.lang.Object arg0, java.lang.Object arg1, java.lang.Object arg2)
          Get a message from resource.properties from the package of the given object.
 java.lang.String getMessage(java.lang.String key, java.lang.Object arg0, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
          Get a message from resource.properties from the package of the given object.
 java.lang.String getMessage(java.lang.String key, java.lang.Object arg0, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4)
          Get a message from resource.properties from the package of the given object.
 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.
 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.
 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.
 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.
 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.
 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.
 

Method Detail

getMessage

public java.lang.String getMessage(java.lang.String key)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
Returns:
The formatted message
Throws:
java.util.MissingResourceException

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.String arg0)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
Returns:
The formatted message
Throws:
java.util.MissingResourceException

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.Object arg0)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
Returns:
The formatted message
Throws:
java.util.MissingResourceException

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.String arg0,
                                   java.lang.String arg1)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
Returns:
The formatted message
Throws:
java.util.MissingResourceException

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.Object arg0,
                                   java.lang.Object arg1)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
Returns:
The formatted message
Throws:
java.util.MissingResourceException

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.String arg0,
                                   java.lang.String arg1,
                                   java.lang.String arg2)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
arg2 - The argument to place in variable {2}
Returns:
The formatted message
Throws:
java.util.MissingResourceException

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.Object arg0,
                                   java.lang.Object arg1,
                                   java.lang.Object arg2)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
arg2 - The argument to place in variable {2}
Returns:
The formatted message
Throws:
java.util.MissingResourceException

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.String arg0,
                                   java.lang.String arg1,
                                   java.lang.String arg2,
                                   java.lang.String arg3)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
arg2 - The argument to place in variable {2}
arg3 - The argument to place in variable {3}
Returns:
The formatted message
Throws:
java.util.MissingResourceException

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.Object arg0,
                                   java.lang.Object arg1,
                                   java.lang.Object arg2,
                                   java.lang.Object arg3)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
arg2 - The argument to place in variable {2}
arg3 - The argument to place in variable {3}
Returns:
The formatted message
Throws:
java.util.MissingResourceException

getMessage

public 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)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
arg2 - The argument to place in variable {2}
arg3 - The argument to place in variable {3}
arg4 - The argument to place in variable {4}
Returns:
The formatted message
Throws:
java.util.MissingResourceException

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.Object arg0,
                                   java.lang.Object arg1,
                                   java.lang.Object arg2,
                                   java.lang.Object arg3,
                                   java.lang.Object arg4)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
arg2 - The argument to place in variable {2}
arg3 - The argument to place in variable {3}
arg4 - The argument to place in variable {4}
Returns:
The formatted message
Throws:
java.util.MissingResourceException

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.String[] args)
                            throws java.util.MissingResourceException
Get a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
args - An array of objects to place in corresponding variables
Returns:
The formatted message
Throws:
java.util.MissingResourceException


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.