Class Project

java.lang.Object
nz.ac.waikato.cms.core.Project

public class Project extends Object
Helper class related to the project and it's "home" directory.
Version:
$Revision: 407 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
  • Field Details

  • Constructor Details

    • Project

      public Project()
  • Method Details

    • getHome

      public static File getHome()
      Returns the "home" directory of Meka, where to store the config files.
      Returns:
      the directory
    • expandFile

      public static File expandFile(String file)
      Adds the home directory to the file.
      Parameters:
      file - the file without path
      Returns:
      the expanded path
    • initialize

      public static boolean initialize()
      Makes sure that the project's home directory is present.
      Returns:
      true if home directory present (or successfully created)