Class EnvironmentDetection

    • Constructor Detail

      • EnvironmentDetection

        public EnvironmentDetection​(ClassLoader classLoader)
        Creates a new FeatureDetector.
        Parameters:
        classLoader - The ClassLoader to use.
    • Method Detail

      • isJBossVFSv2

        public boolean isJBossVFSv2()
        Checks whether JBoss VFS v2 is available.
        Returns:
        true if it is, false if it is not
      • isJBossVFSv3

        public boolean isJBossVFSv3()
        Checks whether JBoss VFS is available.
        Returns:
        true if it is, false if it is not
      • isOsgi

        public boolean isOsgi()
        Checks if OSGi framework is available.
        Returns:
        true if it is, false if it is not
      • isAndroid

        public static boolean isAndroid()
        Return true if the runtime is Andriod.