I'd like to have a properties file that handles a prefix-dot notation:
db.user=MyUsername
db.password=HardToPredict
db.url=jdbc:mysql://localhost/
api.endpoint=/doFunThings
etc.
The `net.liftweb.util.Props` class allows easy access through, say, `Props.get("db.user")`, but I'm finding that what I often need are all of the db-related properties in one Map from their last property name (i.e. 'user', 'password', 'url') to the corresponding values, rather than the entire properties file at once or each of them piecemeal. Obviously, I could write something to do this myself, but I was wondering if it already exists, and if so where? There is nothing obvious in the Props API, or the rest of the net.liftweb.util package, but I wanted to make sure I wasn't either missing something, or if there was another best-practice to handle this situation.
Thanks so much!
Nathaniel Ford