/** * Returns a File object corresponding to the directory specified in * the system property hapi.home. The property is only checked the * first time this method is called, so changes will not take place * until a new VM is started. * This method is guaranteed to return a directory. If hapi.home is * not set, or is set to a non-directory path, the current working directory will * be used. */ public static File getHomeDirectory() { if (home == null) setHomeDirectory(); return home; }
/** * Returns a File object corresponding to the directory specified in * the system property hapi.home. The property is only checked the * first time this method is called, so changes will not take place * until a new VM is started. * This method is guaranteed to return a directory. If hapi.home is * not set, or is set to a non-directory path, the current working directory will * be used. */ public static File getHomeDirectory() { if (home == null) setHomeDirectory(); return home; }