Gary Gregory created TEXT-148:
---------------------------------
Summary: 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
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)