Package com.intergral.deep.plugin.cf
Class Utils
- java.lang.Object
-
- com.intergral.deep.plugin.cf.Utils
-
public final class Utils extends Object
A small collection of utils used to capture the adobe coldfusion version number.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isCFServer()
Are we running on a CF server.static String
loadCFVersion()
Try to load the coldfusion version number.
-
-
-
Method Detail
-
isCFServer
public static boolean isCFServer()
Are we running on a CF server.By checking that the
coldfusion.home
system property exists, or by looking at the java start up command, we can tell if this is a CF server.- Returns:
true
if we are on a coldfusion server.
-
loadCFVersion
public static String loadCFVersion()
Try to load the coldfusion version number.- Returns:
- the major version of adobe coldfusion.
-
-