How to get the number of properties defined in properties file in java?
<p>I want to get the number of properties defined in properties file in Java. For example, I have properties defined as below:</p>

<pre><code>prop.job1=somevalue
prop.job2=somevalue
prop.job3=somevalue
</code></pre>

<p>Now I want to get the number of properties which match the pattern <code>"prop.job" + *</code></p>
