public final class SpringVersionUtils extends Object
Utility class useful for determining the version of Spring that is on the classpath.
Modifier and Type | Method and Description |
---|---|
static int |
getSpringVersionMajor() |
static int |
getSpringVersionMinor() |
static boolean |
isSpring30AtLeast() |
static boolean |
isSpring31AtLeast() |
static boolean |
isSpring32AtLeast() |
static boolean |
isSpring40AtLeast() |
static boolean |
isSpring41AtLeast() |
static boolean |
isSpring42AtLeast() |
public static int getSpringVersionMajor()
public static int getSpringVersionMinor()
public static boolean isSpring30AtLeast()
public static boolean isSpring31AtLeast()
public static boolean isSpring32AtLeast()
public static boolean isSpring40AtLeast()
public static boolean isSpring41AtLeast()
public static boolean isSpring42AtLeast()
Copyright © 2016 The THYMELEAF team. All rights reserved.