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-148) Add an enum to the lookup package that lists all StringLookups
Date Mon, 15 Oct 2018 03:24:00 GMT

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

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

> 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)

Mime
View raw message