请注意,目录文件的名称必须以前缀catalog _开头,如清单7所示。
Note that the name of the catalog file must start with a prefix catalog_ as shown in Listing 7.
属性文件是平面文件—它们并未提供任何形式的键嵌套和分组—但是您可以通过创建具有相同前缀的带点名称来对您的键实现虚假嵌套。
Properties files are flat - they don't offer any sort of nesting or grouping of keys - but you can pseudo-nest your keys by creating dotted names with identical prefixes.
XML Namespaces规定前缀是无关紧要的,因此只有名称空间前缀不同的两个文件应视作同一文件。
XML Namespaces stipulates that prefixes are inconsequential, and so two files that vary only in choice of namespace prefixes should be treated as the same.
应用推荐