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] [Commented] (TEXT-113) Add an interpolator string lookup
Date Mon, 12 Feb 2018 19:05:00 GMT

    [ https://issues.apache.org/jira/browse/TEXT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16361290#comment-16361290
] 

Gary Gregory commented on TEXT-113:
-----------------------------------

In git master.

> Add an interpolator string lookup
> ---------------------------------
>
>                 Key: TEXT-113
>                 URL: https://issues.apache.org/jira/browse/TEXT-113
>             Project: Commons Text
>          Issue Type: New Feature
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>             Fix For: 1.3
>
>
> Add an interpolator string lookup.
> This will allow the syntax
> ${lookupKey:key}
> To look up a system property:
> ${sys:user.name}
> To look up an environment variable:
> ${env:USER}
> Available through {{org.apache.commons.text.lookup.StringLookupFactory#interpolatorStringLookup(\*)}}
>  



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

Mime
View raw message