Package org.thymeleaf
Class Thymeleaf
- java.lang.Object
-
- org.thymeleaf.Thymeleaf
-
public final class Thymeleaf extends java.lang.ObjectClass meant to keep some constants related to the version of the Thymeleaf library being used, build date, etc.
- Since:
- 3.0.0
-
-
Field Summary
Fields Modifier and Type Field Description private static VersionUtils.VersionSpecVERSION_SPEC
-
Constructor Summary
Constructors Modifier Constructor Description privateThymeleaf()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetBuildTimestamp()static java.lang.StringgetVersion()static intgetVersionMajor()static intgetVersionMinor()static intgetVersionPatch()static java.lang.StringgetVersionQualifier()static booleanisVersionStableRelease()
-
-
-
Field Detail
-
VERSION_SPEC
private static final VersionUtils.VersionSpec VERSION_SPEC
-
-
Method Detail
-
getVersion
public static java.lang.String getVersion()
-
getBuildTimestamp
public static java.lang.String getBuildTimestamp()
-
getVersionMajor
public static int getVersionMajor()
-
getVersionMinor
public static int getVersionMinor()
-
getVersionPatch
public static int getVersionPatch()
-
getVersionQualifier
public static java.lang.String getVersionQualifier()
-
isVersionStableRelease
public static boolean isVersionStableRelease()
-
-