Package ch.qos.logback.core.util
Class EnvUtil
java.lang.Object
ch.qos.logback.core.util.EnvUtil
- Author:
- Ceki Gülcü
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getJDKVersion
(String javaVersionStr) static boolean
isClassAvailable
(Class callerClass, String className) static boolean
static boolean
static boolean
static boolean
isJDK5()
static boolean
static boolean
static boolean
static String
Returns the current version of logback, or null if data is not available.
-
Method Details
-
logbackVersion
Returns the current version of logback, or null if data is not available.
- Returns:
- current version or null if missing version data
- Since:
- 1.3.0
-
getJDKVersion
-
isJDK5
-
isJDK6OrHigher
-
isJDK7OrHigher
-
isJDK16OrHigher
-
isJDK18OrHigher
-
isJaninoAvailable
-
isWindows
-
isClassAvailable
-