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 StringBUILD_TIMESTAMPDeprecated.Deprecated in 3.0.12.static StringVERSIONDeprecated.Deprecated in 3.0.12.static intVERSION_BUILDDeprecated.Deprecated in 3.0.12.static intVERSION_MAJORDeprecated.Deprecated in 3.0.12.static intVERSION_MINORDeprecated.Deprecated in 3.0.12.static StringVERSION_TYPEDeprecated.Deprecated in 3.0.12.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetBuildTimestamp()static StringgetVersion()static intgetVersionMajor()static intgetVersionMinor()static intgetVersionPatch()static StringgetVersionQualifier()static booleanisVersionStableRelease()
-
-
-
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()
-
-