Package org.thymeleaf
Class Thymeleaf
- Object
-
- org.thymeleaf.Thymeleaf
-
public final class Thymeleaf extends Object
Class meant to keep some constants related to the version of the Thymeleaf library being used, build date, etc.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Field Summary
Fields Modifier and Type Field Description static String
BUILD_TIMESTAMP
Deprecated.Deprecated in 3.0.12.static String
VERSION
Deprecated.Deprecated in 3.0.12.static int
VERSION_BUILD
Deprecated.Deprecated in 3.0.12.static int
VERSION_MAJOR
Deprecated.Deprecated in 3.0.12.static int
VERSION_MINOR
Deprecated.Deprecated in 3.0.12.static String
VERSION_TYPE
Deprecated.Deprecated in 3.0.12.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getBuildTimestamp()
static String
getVersion()
static int
getVersionMajor()
static int
getVersionMinor()
static int
getVersionPatch()
static String
getVersionQualifier()
static boolean
isVersionStableRelease()
-
-
-
Field Detail
-
VERSION
public static final String VERSION
Deprecated.Deprecated in 3.0.12. UsegetVersion()
instead. Will be removed in Thymeleaf 3.1.
-
BUILD_TIMESTAMP
public static final String BUILD_TIMESTAMP
Deprecated.Deprecated in 3.0.12. UsegetBuildTimestamp()
instead. Will be removed in Thymeleaf 3.1.
-
VERSION_MAJOR
public static final int VERSION_MAJOR
Deprecated.Deprecated in 3.0.12. UsegetVersionMajor()
instead. Will be removed in Thymeleaf 3.1.
-
VERSION_MINOR
public static final int VERSION_MINOR
Deprecated.Deprecated in 3.0.12. UsegetVersionMinor()
instead. Will be removed in Thymeleaf 3.1.
-
VERSION_BUILD
public static final int VERSION_BUILD
Deprecated.Deprecated in 3.0.12. UsegetVersionPatch()
instead. Will be removed in Thymeleaf 3.1.
-
VERSION_TYPE
public static final String VERSION_TYPE
Deprecated.Deprecated in 3.0.12. UsegetVersionQualifier()
instead. Will be removed in Thymeleaf 3.1.
-
-
Method Detail
-
getVersion
public static String getVersion()
-
getBuildTimestamp
public static String getBuildTimestamp()
-
getVersionMajor
public static int getVersionMajor()
-
getVersionMinor
public static int getVersionMinor()
-
getVersionPatch
public static int getVersionPatch()
-
getVersionQualifier
public static String getVersionQualifier()
-
isVersionStableRelease
public static boolean isVersionStableRelease()
-
-