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 String
AMETYS_HOME_CONFIG_DIR
The path to the Ametys home config directorystatic String
AMETYS_HOME_DATA_DIR
The path to the Ametys home data directorystatic String
AMETYS_HOME_TMP_DIR
The path to the Ametys home temporary directory
-
Constructor Summary
Constructors Modifier Constructor Description private
AmetysHomeHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
getAmetysHome()
Returns the Ametys home directory.static File
getAmetysHomeConfig()
Returns the Ametys home config directory.static File
getAmetysHomeData()
Returns the Ametys home data directory.static File
getAmetysHomeTmp()
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
-
-
Constructor Detail
-
AmetysHomeHelper
private AmetysHomeHelper()
-
-
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.
-
-