Package org.europa.together.utils
Class Constraints
- java.lang.Object
-
- org.europa.together.utils.Constraints
-
public final class Constraints extends Object
Constraints for the package CORE.
-
-
Field Summary
Fields Modifier and Type Field Description static int
BYTE_DEVISOR
Byte Devisor is the magic number of 1024.static int
HEX_255
Hexadecimal representation of 255.static int
HEX_256
Hexadecimal representation of 256.static String
MODULE_DESCRIPTION
A short description of the module.static String
MODULE_NAME
Module name.static String
MODULE_VERSION
Version of the module.static String
SYSTEM_APP_DIR
Detect the Directory where the application is running.static String
SYSTEM_OS
Detect the Operating System (OS) where the application is running.static String
SYSTEM_USER_HOME_DIR
Detect the Home Directory of the user in the OS.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
printConstraintInfo()
Implements a static version of toString();.
-
-
-
Field Detail
-
MODULE_NAME
public static final String MODULE_NAME
Module name.- See Also:
- Constant Field Values
-
MODULE_VERSION
public static final String MODULE_VERSION
Version of the module.
-
MODULE_DESCRIPTION
public static final String MODULE_DESCRIPTION
A short description of the module.- See Also:
- Constant Field Values
-
SYSTEM_OS
public static final String SYSTEM_OS
Detect the Operating System (OS) where the application is running.
-
SYSTEM_USER_HOME_DIR
public static final String SYSTEM_USER_HOME_DIR
Detect the Home Directory of the user in the OS.
-
SYSTEM_APP_DIR
public static final String SYSTEM_APP_DIR
Detect the Directory where the application is running.
-
BYTE_DEVISOR
public static final int BYTE_DEVISOR
Byte Devisor is the magic number of 1024. This number you always need to calculate from one dimension to the next higher dimension. e. g. 1024 kilo Byte = 1 mega Byte- See Also:
- Constant Field Values
-
HEX_255
public static final int HEX_255
Hexadecimal representation of 255.- See Also:
- Constant Field Values
-
HEX_256
public static final int HEX_256
Hexadecimal representation of 256.- See Also:
- Constant Field Values
-
-
Method Detail
-
printConstraintInfo
public static String printConstraintInfo()
Implements a static version of toString();.- Returns:
- Constraints as String
-
-