Java library for reading Apache httpd configuration files (same as Perl Config :: General)

Is there a Java library that reads configuration files such as pseudo XML used by Apache Http? Example:

some_variable true <myconf> order Cache1 order Cache2 <Cache> can_search yes can_count yes </Cache> <Cache2> can_search yes can_count yes </Cache2> </myconf> <details> host 192.168.10.1 port 222 </details> 

Basically, is there a Java replacement for the Perl module Config :: General? I only need to read files, I do not need to write.

+4
source share
2 answers

Finally, for this I created my own library.

https://github.com/kkapelon/Apache-Httpd-conf-Reader

+2
source

According to another question posted on SO, there are no Java libraries for Apache configuration files.

+1
source

All Articles