Method Summary |
|
public void | executeCommand(String[] args) Executes the command on the basis of the options specified. |
public LongOpt[] | generateValidOptions() It generates the LongOpt which contain the valid options that the command
will accept. |
public void | loadProperties() Loads all the properties that would be needed by the Toolkit classes. |
public static void | main(String[] args) The main program for the CPlanner. |
public void | parseCommandLineArguments(String[] args) Parses the command line arguments using GetOpt and sets the class
member variables. |
public void | printLongVersion() This method is used to print the long version of the command. |
public void | printShortHelp() This is used to print the short version of the command. |
public void | printShortVersion() This is used to print the short version of the command. |
protected static void | sanityCheck(File dir) Checks the destination location for existence, if it can
be created, if it is writable etc. |
protected void | writeOutRankings(File file, Collection<Ranking> rankings) Writes out the ranking to the file. |