Mura CMS 6.1

mura.resourceBundle
Class resourceBundle

railo-context.Component
        extended by mura.cfobject
            extended by mura.resourceBundle.resourceBundle

public class resourceBundle
extends cfobject

Constructor Summary
init(string locale, string resourceDirectory='')
 
Method Summary
 string getKeyValue([any key], boolean useMuraDefault='false')
 any getResourceBundle()
 any getUtils()
 any LoadResourceBundle()
          reads and parses java resource bundle per locale
 any LoadResourceBundleUTF()
          reads and parses java resource bundle per locale
 string messageFormat(string thisPattern, any args)
          performs messageFormat on compound rb string
 boolean verifyPattern(string pattern)
          performs verification on MessageFormat pattern
 
Methods inherited from class mura.cfobject
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
 
Methods inherited from class railo-context.Component
 

Constructor Detail

init

public init(string locale, string resourceDirectory='')

Parameters:
locale
resourceDirectory
Method Detail

getKeyValue

public string getKeyValue([any key], boolean useMuraDefault='false')

Parameters:
key
useMuraDefault

getResourceBundle

public any getResourceBundle()


getUtils

public any getUtils()


LoadResourceBundle

public any LoadResourceBundle()
reads and parses java resource bundle per locale


LoadResourceBundleUTF

public any LoadResourceBundleUTF()
reads and parses java resource bundle per locale


messageFormat

public string messageFormat(string thisPattern, any args)
performs messageFormat on compound rb string

Parameters:
thisPattern - pattern to use in formatting
args - substitution values

verifyPattern

public boolean verifyPattern(string pattern)
performs verification on MessageFormat pattern

Parameters:
pattern - format pattern to test

Mura CMS 6.1