public class DisplayNames
extends java.lang.Object
| Constructor and Description | 
|---|
DisplayNames()  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
getPropertyDisplayName(java.lang.String propName)
Gets a translated string representing the name of the given property. 
 | 
static java.lang.String | 
getPropertyDisplayName(java.lang.String propName,
                      java.util.ResourceBundle bundle)
Looks up the given property name as a key in the given resource bundle. 
 | 
static java.lang.String | 
getTypeDisplayName(java.lang.String objectType)
Gets a translated representation of the given object type (e.g. 
 | 
static java.lang.String | 
getTypePluralName(java.lang.String objectType)
Gets a translated representation of the given object type as a plural
 (e.g. 
 | 
public static java.lang.String getTypeDisplayName(java.lang.String objectType)
public static java.lang.String getTypePluralName(java.lang.String objectType)
public static java.lang.String getPropertyDisplayName(java.lang.String propName)
Property class.propName - the api name of the property.public static java.lang.String getPropertyDisplayName(java.lang.String propName,
                                                      java.util.ResourceBundle bundle)
propName ends in "Fragment" then the base name is also
 looked up.propName - the api name of the property.bundle - the resource bundle to look for the property name in (as
 a key).