Package org.ametys.runtime.util
Class AmetysHomeHelper
- java.lang.Object
-
- org.ametys.runtime.util.AmetysHomeHelper
-
public final class AmetysHomeHelper extends Object
Helper for Ametys home locations
-
-
Field Summary
Fields Modifier and Type Field Description static StringAMETYS_HOME_CONFIG_DIRThe path to the Ametys home config directorystatic StringAMETYS_HOME_DATA_DIRThe path to the Ametys home data directorystatic StringAMETYS_HOME_TMP_DIRThe path to the Ametys home temporary directory
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FilegetAmetysHome()Returns the Ametys home directory.static FilegetAmetysHomeConfig()Returns the Ametys home config directory.static FilegetAmetysHomeData()Returns the Ametys home data directory.static FilegetAmetysHomeTmp()Returns the Ametys temporary directory.
-
-
-
Field Detail
-
AMETYS_HOME_DATA_DIR
public static final String AMETYS_HOME_DATA_DIR
The path to the Ametys home data directory- See Also:
- Constant Field Values
-
AMETYS_HOME_CONFIG_DIR
public static final String AMETYS_HOME_CONFIG_DIR
The path to the Ametys home config directory- See Also:
- Constant Field Values
-
AMETYS_HOME_TMP_DIR
public static final String AMETYS_HOME_TMP_DIR
The path to the Ametys home temporary directory- See Also:
- Constant Field Values
-
-
Method Detail
-
getAmetysHome
public static File getAmetysHome()
Returns the Ametys home directory. Cannot be null.- Returns:
- The Ametys home directory.
-
getAmetysHomeData
public static File getAmetysHomeData()
Returns the Ametys home data directory. Cannot be null.- Returns:
- The Ametys home data directory.
-
getAmetysHomeConfig
public static File getAmetysHomeConfig()
Returns the Ametys home config directory. Cannot be null.- Returns:
- The Ametys home config directory.
-
getAmetysHomeTmp
public static File getAmetysHomeTmp()
Returns the Ametys temporary directory. Cannot be null.- Returns:
- The Ametys temporary directory.
-
-