Package org.thymeleaf.spring3.util
Class SpringVersionUtils
- Object
-
- org.thymeleaf.spring3.util.SpringVersionUtils
-
public final class SpringVersionUtils extends Object
Utility class useful for determining the version of Spring that is on the classpath.
- Since:
- 2.1.0
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getSpringVersion()
static int
getSpringVersionMajor()
static int
getSpringVersionMinor()
static int
getSpringVersionPatch()
static boolean
isSpring30AtLeast()
static boolean
isSpring31AtLeast()
static boolean
isSpring32AtLeast()
static boolean
isSpring40AtLeast()
static boolean
isSpring41AtLeast()
static boolean
isSpring42AtLeast()
static boolean
isSpring43AtLeast()
static boolean
isSpring50AtLeast()
static boolean
isSpring51AtLeast()
static boolean
isSpring52AtLeast()
static boolean
isSpring53AtLeast()
static boolean
isSpringAtLeast(int major, int minor)
static boolean
isSpringAtLeast(int major, int minor, int patch)
-
-
-
Method Detail
-
getSpringVersion
public static String getSpringVersion()
-
getSpringVersionMajor
public static int getSpringVersionMajor()
-
getSpringVersionMinor
public static int getSpringVersionMinor()
-
getSpringVersionPatch
public static int getSpringVersionPatch()
-
isSpring30AtLeast
public static boolean isSpring30AtLeast()
-
isSpring31AtLeast
public static boolean isSpring31AtLeast()
-
isSpring32AtLeast
public static boolean isSpring32AtLeast()
-
isSpring40AtLeast
public static boolean isSpring40AtLeast()
-
isSpring41AtLeast
public static boolean isSpring41AtLeast()
-
isSpring42AtLeast
public static boolean isSpring42AtLeast()
-
isSpring43AtLeast
public static boolean isSpring43AtLeast()
-
isSpring50AtLeast
public static boolean isSpring50AtLeast()
-
isSpring51AtLeast
public static boolean isSpring51AtLeast()
-
isSpring52AtLeast
public static boolean isSpring52AtLeast()
-
isSpring53AtLeast
public static boolean isSpring53AtLeast()
-
isSpringAtLeast
public static boolean isSpringAtLeast(int major, int minor)
-
isSpringAtLeast
public static boolean isSpringAtLeast(int major, int minor, int patch)
-
-