Class DynamicResourceBundleHolder
- java.lang.Object
- 
- com.oracle.cloud.baremetal.jenkins.DynamicResourceBundleHolder
 
- 
 public class DynamicResourceBundleHolder extends Object An alternative toResourceBundleHolderthat does not require a statically generated class with the same name as the properties file.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringformat(String key, Object... args)Formats a resource specified by the given key by using the default localestatic DynamicResourceBundleHolderget(Class<?> owner, String shortName)Returns aResourceBundleHolderfor the given class.
 
- 
- 
- 
Method Detail- 
getpublic static DynamicResourceBundleHolder get(Class<?> owner, String shortName) Returns aResourceBundleHolderfor the given class.- Parameters:
- owner- the resource bundle owner
- shortName- the resource bundle name relative to the owner
- Returns:
- a ResourceBundleHolderfor the given class
 
 
- 
 
-