Which method I can use in Java for configuration file?
<p>Which method I can use in Java for configuration files, to read and write specific lines and strings? For example (config.ini):</p>

<pre><code>mysql_host: localhost
mysql_user: user
</code></pre>

<p>or</p>

<pre><code>mysql_host = localhost
mysql_user = user
</code></pre>