Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Commons Configuration do manipulate configuration files.</p> <p>Even it gives an option to save the manipulated properties in a new file also.</p> <pre><code>PropertiesConfiguration config = new PropertiesConfiguration("usergui.properties"); config.setProperty("colors.background", "#000000); config.save("usergui.backup.properties); </code></pre> <p>Refer following link </p> <p><a href="http://commons.apache.org/configuration/userguide/howto_filebased.html#File-based_Configurations" rel="nofollow noreferrer">http://commons.apache.org/configuration/userguide/howto_filebased.html#File-based_Configurations</a></p> <p>Even, Apache Ant can also help you in manipulating the existing configuration files using your own PropertyHelper Implementation.</p> <p><a href="http://ant.apache.org/manual/properties.html#propertyHelper" rel="nofollow noreferrer">http://ant.apache.org/manual/properties.html#propertyHelper</a></p> <blockquote> <p><strong>EDITED</strong> after response in comments</p> </blockquote> <p>Apache configuration do provide extensibility using bean Factory , you need to create the Apache config file httpd.conf domain class yourself , to make it working.</p> <p>Defining the Apache modules in java you can have a look at Netloony source , service/apache/modules to have an idea on this. </p> <p><a href="http://netloony.sourceforge.net/userguide/intro.html" rel="nofollow noreferrer">http://netloony.sourceforge.net/userguide/intro.html</a></p> <p>In netloony the config files values are presented in JTable, you need to use any configuration framework to persist it in file.</p> <p>Hope this helps, I understand there is nothing out of Box in java presently to read apache conf files. I was trying to give a pointer where you can start with..</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload