开发者

wildcard into .properties

Does exist any method in witch i can add开发者_开发百科 a wildcard into a properties file, and have the meaning of everything, like a.b.*.c.d=lalalala, or set a regex for all that ends in a.b.c=anything?


A normal Java properties file doesn't handle this, no. Bear in mind that it's a hashtable really, usually mapping strings to strings.

It sounds like you probably want to create your own class for this - but perhaps you could use a Properties object as a simple way of inserting the data?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜