You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/10/15 03:23:00 UTC

[jira] [Closed] (TEXT-148) Add an enum to the lookup package that lists all StringLookups

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

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

In git master.

> Add an enum to the lookup package that lists all StringLookups
> --------------------------------------------------------------
>
>                 Key: TEXT-148
>                 URL: https://issues.apache.org/jira/browse/TEXT-148
>             Project: Commons Text
>          Issue Type: New Feature
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>             Fix For: 1.7
>
>
> Add an enum to the lookup package that lists all StringLookups: {{org.apache.commons.text.lookup.DefaultStringLookup}}. 
> This will allow users like Apache Commons Configuration to simply loop through the enum in order to build its own interpolator with all stock string lookups from Apache Commons Text without having to refer to each one individually. 
> Internally, Commons Text can also loop through this enum to build the map populated by {{StringLookupFactory.addDefaultStringLookups(Map<String, StringLookup>)}}



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