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

Gary Gregory updated TEXT-148:
------------------------------
    Description: 
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>)}}, also without having to refer to each one individually.

  was:
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>)}}


> 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>)}}, also without having to refer to each one individually.



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

Reply via email to