org.codehaus.plexus.mainclass
Interface MainClass


public interface MainClass

Interface representing the name and location of a class having a main method.


Method Summary
 java.io.File getClassLocation()
          Returns the location (directory or jar file) containing the main method class.
 java.lang.String getClassName()
          Returns the name of the class having a main method.
 

Method Detail

getClassName

java.lang.String getClassName()
Returns the name of the class having a main method.

Returns:
the class name

getClassLocation

java.io.File getClassLocation()
Returns the location (directory or jar file) containing the main method class.

Returns:
the location


Copyright © 2001-2008 Codehaus. All Rights Reserved.