How to read properties from xml file with java?

后端 未结 7 1330
独厮守ぢ
独厮守ぢ 2021-01-08 00:51

I have the following xml file:


    
        
        

        
7条回答
  •  心在旅途
    2021-01-08 01:38

    If I were you, I would use an interface with your desired methods (getProperty, Resource, etc) and provide an XPath implementation.

提交回复
热议问题