commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TEXT-141) Add org.apache.commons.text.lookup.StringLookupFactory.resourceBundleStringLookup(String)
Date Thu, 20 Sep 2018 21:32:00 GMT

     [ https://issues.apache.org/jira/browse/TEXT-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Gregory closed TEXT-141.
-----------------------------
    Resolution: Fixed

In git master.

> Add org.apache.commons.text.lookup.StringLookupFactory.resourceBundleStringLookup(String)
> -----------------------------------------------------------------------------------------
>
>                 Key: TEXT-141
>                 URL: https://issues.apache.org/jira/browse/TEXT-141
>             Project: Commons Text
>          Issue Type: Improvement
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>             Fix For: 1.5
>
>
> Add {{org.apache.commons.text.lookup.StringLookupFactory.resourceBundleStringLookup(String)}}
to work on a single bundle.
> {code:java}
>     /**
>      * Returns a ResourceBundleStringLookup instance for the given bundle name.
>      * <p>
>      * Looks up the value for a given key in the format "BundleKey".
>      * </p>
>      * <p>
>      * For example: "MyKey".
>      * </p>
>      * @param bundleName Only lookup in this bundle. 
>      * @return a ResourceBundleStringLookup instance for the given bundle name.
>      * @since 1.5
>      */
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message