rbJava
rbJava
rbJava
reads and parses java resource bundle per locale, version 1.2 mar-2005
Metadata
Instantiating |
dumpRB()
Loads a bundle
Arguments
Name | Type | Required | Default | Options | Description |
---|---|---|---|---|---|
None |
formatRBString()
performs messageFormat like operation on compound rb string
Arguments
Name | Type | Required | Default | Options | Description |
---|---|---|---|---|---|
rbString | string | Yes | |||
substituteValues | String | Yes |
getRBKeys()
returns array of keys in java resource bundle per locale
Arguments
Name | Type | Required | Default | Options | Description |
---|---|---|---|---|---|
rbFile | string | Yes | |||
rbLocale | string | No | en_US |
getRBString()
returns text for given key in given java resource bundle per locale
Arguments
Name | Type | Required | Default | Options | Description |
---|---|---|---|---|---|
rbFile | string | Yes | |||
rbKey | string | Yes | |||
rbLocale | string | No | en_US |
getResource()
Returns bundle.X, if it exists, and optionally wraps it ** if debug mode.
Arguments
Name | Type | Required | Default | Options | Description |
---|---|---|---|---|---|
resource | string | Yes |
getResourceBundle()
reads and parses java resource bundle per locale
Arguments
Name | Type | Required | Default | Options | Description |
---|---|---|---|---|---|
rbFile | string | Yes | |||
rbLocale | string | No | en_AU | ||
markDebug | boolean | No | false |
loadResourceBundle()
Loads a bundle
Arguments
Name | Type | Required | Default | Options | Description |
---|---|---|---|---|---|
rbFile | string | Yes | |||
rbLocale | string | No | en_US |