|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.admin.ManagedObjectDefinitionI18NResource
public final class ManagedObjectDefinitionI18NResource
A class for retrieving internationalized resource properties associated with a managed object definition.
I18N resource properties are not available for the
TopCfgDefn.
| Method Summary | |
|---|---|
static ManagedObjectDefinitionI18NResource |
getInstance()
Gets the internationalized resource instance which can be used to retrieve the localized descriptions for the managed objects and their associated properties and relations. |
static ManagedObjectDefinitionI18NResource |
getInstanceForProfile(java.lang.String profile)
Gets the internationalized resource instance for the named profile. |
Message |
getMessage(AbstractManagedObjectDefinition<?,?> d,
java.lang.String key)
Get the internationalized message associated with the specified key in the default locale. |
Message |
getMessage(AbstractManagedObjectDefinition<?,?> d,
java.lang.String key,
java.util.Locale locale)
Get the internationalized message associated with the specified key and locale. |
Message |
getMessage(AbstractManagedObjectDefinition<?,?> d,
java.lang.String key,
java.util.Locale locale,
java.lang.String... args)
Get the parameterized internationalized message associated with the specified key and locale. |
Message |
getMessage(AbstractManagedObjectDefinition<?,?> d,
java.lang.String key,
java.lang.String... args)
Get the parameterized internationalized message associated with the specified key in the default locale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ManagedObjectDefinitionI18NResource getInstance()
public static ManagedObjectDefinitionI18NResource getInstanceForProfile(java.lang.String profile)
profile - The name of the profile.
public Message getMessage(AbstractManagedObjectDefinition<?,?> d,
java.lang.String key)
throws java.util.MissingResourceException,
java.lang.UnsupportedOperationException
d - The managed object definition.key - The resource key.
java.util.MissingResourceException - If the key was not found.
java.lang.UnsupportedOperationException - If the provided managed object definition was the
TopCfgDefn.
public Message getMessage(AbstractManagedObjectDefinition<?,?> d,
java.lang.String key,
java.util.Locale locale)
throws java.util.MissingResourceException,
java.lang.UnsupportedOperationException
d - The managed object definition.key - The resource key.locale - The locale.
java.util.MissingResourceException - If the key was not found.
java.lang.UnsupportedOperationException - If the provided managed object definition was the
TopCfgDefn.
public Message getMessage(AbstractManagedObjectDefinition<?,?> d,
java.lang.String key,
java.util.Locale locale,
java.lang.String... args)
throws java.util.MissingResourceException,
java.lang.UnsupportedOperationException
d - The managed object definition.key - The resource key.locale - The locale.args - Arguments that should be inserted into the retrieved
message.
java.util.MissingResourceException - If the key was not found.
java.lang.UnsupportedOperationException - If the provided managed object definition was the
TopCfgDefn.
public Message getMessage(AbstractManagedObjectDefinition<?,?> d,
java.lang.String key,
java.lang.String... args)
throws java.util.MissingResourceException,
java.lang.UnsupportedOperationException
d - The managed object definition.key - The resource key.args - Arguments that should be inserted into the retrieved
message.
java.util.MissingResourceException - If the key was not found.
java.lang.UnsupportedOperationException - If the provided managed object definition was the
TopCfgDefn.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||