Is there a Java library that reads configuration files like those 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 Perl module Config::General?
I need only to read the files, writing is not necessary.
I finally created my own library for this.
https://github.com/kkapelon/Apache-Httpd-conf-Reader