org.objectweb.jonas_lib.I18n Class Reference

List of all members.

Public Member Functions

String getMessage (String key, Object[] args)
String getMessage (String key)
String getMessage (String key, Object obj)
String getMessage (String key, Object obj1, Object obj2)
String getMessage (String key, Object obj1, Object obj2, Object obj3)
String getMessage (String key, Object obj1, Object obj2, Object obj3, Object obj4)
String getMessage (String key, Object obj1, Object obj2, Object obj3, Object obj4, Object obj5)
String getMessage (String key, Object obj1, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6)

Static Public Member Functions

I18n getInstance (Class c)
I18n getInstance (Class c, ClassLoader cl)
I18n getInstance (String packageName)
I18n getInstance (String packageName, ClassLoader cl)

Detailed Description

This class defines the way for getting message with ResourceBundle for different language Inspired from http://java.sun.com/docs/books/tutorial/i18n/
Author:
Florent Benoit

Definition at line 43 of file I18n.java.


Member Function Documentation

I18n org.objectweb.jonas_lib.I18n.getInstance String  packageName,
ClassLoader  cl
[static]
 

Gets the instance for a given package

Parameters:
packageName the package for which we want a bundle
cl the classloader used to load bundle
Returns:
I18n object

Definition at line 113 of file I18n.java.

I18n org.objectweb.jonas_lib.I18n.getInstance String  packageName  )  [static]
 

Gets the instance for a given package

Parameters:
packageName the package for which we want a bundle
Returns:
I18n object

Definition at line 103 of file I18n.java.

I18n org.objectweb.jonas_lib.I18n.getInstance Class  c,
ClassLoader  cl
[static]
 

Gets the instance for a given class

Parameters:
c the class for which we want a bundle
cl the classloader used to load bundle
Returns:
I18n object

Definition at line 94 of file I18n.java.

I18n org.objectweb.jonas_lib.I18n.getInstance Class  c  )  [static]
 

Gets the instance for a given class

Parameters:
c the class for which we want a bundle
Returns:
I18n object

Definition at line 84 of file I18n.java.

Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doInit().

String org.objectweb.jonas_lib.I18n.getMessage String  key,
Object  obj1,
Object  obj2,
Object  obj3,
Object  obj4,
Object  obj5,
Object  obj6
 

Gets the formatted string with the given arguments

Parameters:
key the keystring on which to apply arguments
obj1 argument for the formatter
obj2 argument for the formatter
obj3 argument for the formatter
obj4 argument for the formatter
obj5 argument for the formatter
obj6 argument for the formatter
Returns:
the formatted string

Definition at line 239 of file I18n.java.

String org.objectweb.jonas_lib.I18n.getMessage String  key,
Object  obj1,
Object  obj2,
Object  obj3,
Object  obj4,
Object  obj5
 

Gets the formatted string with the given arguments

Parameters:
key the keystring on which to apply arguments
obj1 argument for the formatter
obj2 argument for the formatter
obj3 argument for the formatter
obj4 argument for the formatter
obj5 argument for the formatter
Returns:
the formatted string

Definition at line 223 of file I18n.java.

String org.objectweb.jonas_lib.I18n.getMessage String  key,
Object  obj1,
Object  obj2,
Object  obj3,
Object  obj4
 

Gets the formatted string with the given arguments

Parameters:
key the keystring on which to apply arguments
obj1 argument for the formatter
obj2 argument for the formatter
obj3 argument for the formatter
obj4 argument for the formatter
Returns:
the formatted string

Definition at line 208 of file I18n.java.

String org.objectweb.jonas_lib.I18n.getMessage String  key,
Object  obj1,
Object  obj2,
Object  obj3
 

Gets the formatted string with the given arguments

Parameters:
key the keystring on which to apply arguments
obj1 the first object argument for the formatter
obj2 the second object argument for the formatter
obj3 the third object argument for the formatter
Returns:
the formatted string

Definition at line 194 of file I18n.java.

String org.objectweb.jonas_lib.I18n.getMessage String  key,
Object  obj1,
Object  obj2
 

Gets the formatted string with the given arguments

Parameters:
key the keystring on which to apply arguments
obj1 the first object argument for the formatter
obj2 the second object argument for the formatter
Returns:
the formatted string

Definition at line 182 of file I18n.java.

String org.objectweb.jonas_lib.I18n.getMessage String  key,
Object  obj
 

Gets the formatted string with the given arguments

Parameters:
key the keystring on which to apply arguments
obj the object argument for the formatter
Returns:
the formatted string

Definition at line 170 of file I18n.java.

String org.objectweb.jonas_lib.I18n.getMessage String  key  ) 
 

Gets the value of the given key

Parameters:
key the keystring to retrieve
Returns:
the value for the given key or the key if the value can not be found

Definition at line 146 of file I18n.java.

String org.objectweb.jonas_lib.I18n.getMessage String  key,
Object[]  args
 

Gets the formatted string with the given arguments

Parameters:
key the keystring on which to apply arguments
args the object arguments for the formatter
Returns:
the formatted string

Definition at line 135 of file I18n.java.

Referenced by org.objectweb.jonas_lib.genbase.generator.AbsGenerator.AbsGenerator(), org.objectweb.jonas_ws.wsgen.generator.ews.EWSWsEndpointGenerator.addFiles(), org.objectweb.jonas_ws.wsgen.generator.axis.AxisWsEndpointGenerator.addFiles(), org.objectweb.jonas_lib.security.jacc.JPolicyConfiguration.addToRole(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.checkStartedContext(), org.objectweb.jonas_ws.wsgen.generator.Generator.compile(), org.objectweb.jonas.ws.AbsWebServicesServiceImpl.deployWebServices(), org.objectweb.jonas_lib.genbase.utils.DirStorer.DirStorer(), org.objectweb.jonas.ws.AbsWebServicesServiceImpl.doDeployWebServices(), org.objectweb.jonas.ws.AbsWebServicesServiceImpl.doInit(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doRegisterWar(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doStart(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doStop(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doUnRegisterWar(), org.objectweb.jonas_lib.security.jacc.JPolicyConfiguration.equals(), org.objectweb.jonas_lib.genbase.archive.FileArchive.FileArchive(), org.objectweb.jonas_ws.wsgen.generator.ews.EWSWsEndpointGenerator.generate(), org.objectweb.jonas_ws.wsgen.generator.ews.EWSWsClientGenerator.generate(), org.objectweb.jonas_ws.wsgen.generator.axis.JVelocity.generate(), org.objectweb.jonas_ws.wsgen.generator.axis.AxisWsClientGenerator.generate(), org.objectweb.jonas_lib.genclientstub.generator.Generator.generate(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.getConfigFile(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.getConfiguredMatchingJonasContexts(), org.objectweb.jonas_ws.wsgen.modifier.ModifierFactory.getModifier(), org.objectweb.jonas_lib.genclientstub.modifier.ModifierFactory.getModifier(), org.objectweb.jonas_lib.genbase.utils.DirStorer.getOutputStream(), org.objectweb.jonas_lib.security.jacc.JPolicy.implies(), org.objectweb.jonas_lib.genbase.archive.Application.init(), org.objectweb.jonas_lib.genbase.archive.WebApp.initialize(), org.objectweb.jonas_lib.genbase.archive.Client.initialize(), org.objectweb.jonas_lib.genbase.archive.EjbJar.initialize(), org.objectweb.jonas_lib.genbase.archive.J2EEArchive.isDTDsAllowed(), org.objectweb.jonas_lib.genbase.archive.JarArchive.JarArchive(), org.objectweb.jonas_lib.genbase.utils.JarStorer.JarStorer(), org.objectweb.jonas_lib.security.jacc.JPolicyConfiguration.JPolicyConfiguration(), org.objectweb.jonas_ws.wsgen.generator.axis.JVelocity.JVelocity(), org.objectweb.jonas_lib.security.jacc.JPolicyConfiguration.linkConfiguration(), org.objectweb.jonas_lib.genbase.archive.Application.loadDescriptors(), org.objectweb.jonas.ws.handler.WSDLHandlerFactory.newHandler(), org.objectweb.jonas.ws.handler.RegistryWSDLHandler.publish(), org.objectweb.jonas.ws.handler.RegistryWSDLHandler.RegistryWSDLHandler(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.setGlobalNamingResources(), org.objectweb.jonas_lib.genbase.utils.JarStorer.store(), org.objectweb.jonas_lib.genbase.utils.ArchiveStorer.store(), and org.objectweb.jonas_ws.deployment.api.WSDeploymentDesc.WSDeploymentDesc().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:11 2005 for JOnAS by  doxygen 1.3.9.1