h4>getMainClass</h4>
<pre>protected static&nbsp;java.lang.String&nbsp;getMainClass(<a href="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a>&nbsp;path,
                                               int&nbsp;type)
                                        throws <a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></pre>
<div class="block">Helper method to retrieve main cla