commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Bin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONFIGURATION-623) Treat hierarchy delimiter equivalent to hierarchy instead of escaping
Date Wed, 13 Apr 2016 21:13:25 GMT
Simon Bin created CONFIGURATION-623:
---------------------------------------

             Summary: Treat hierarchy delimiter equivalent to hierarchy instead of escaping
                 Key: CONFIGURATION-623
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-623
             Project: Commons Configuration
          Issue Type: Wish
          Components: Expression engine
    Affects Versions: 2.0
            Reporter: Simon Bin


It would be nice if the . character could work as a hierarchy introducer, in such a way that
those files

[learningtask]
trains.lp = 5

[learningtask.trains]
lp = 7

could be queried with config.getList(String.class, "learningtask.trains.lp");

(note, at the moment you need to use the escaped form and will only get one or the other:
"learningtask..trains.lp" or "learningtask.trains..lp"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message