Updating user home.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@9024 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2007-08-28 13:33:38 +00:00
committed by derek
parent 3b484b0919
commit 15787a3fe1

View File

@ -305,6 +305,14 @@ public final class Spark {
return USER_SPARK_HOME;
}
/**
* Return the base user home.
* @return the user home.
*/
public static String getUserHome(){
return System.getProperties().getProperty("user.home");
}
public static boolean isCustomBuild() {
return "true".equals(Default.getString("CUSTOM"));
}