Class Utils


  • public final class Utils
    extends Object
    A small collection of utils used to capture the adobe 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.