public class EnvironmentDetection extends Object
| Constructor and Description |
|---|
EnvironmentDetection(ClassLoader classLoader)
Creates a new FeatureDetector.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAndroid()
Return true if the runtime is Andriod.
|
boolean |
isJBossVFSv2()
Checks whether JBoss VFS v2 is available.
|
boolean |
isJBossVFSv3()
Checks whether JBoss VFS is available.
|
boolean |
isOsgi()
Checks if OSGi framework is available.
|
public EnvironmentDetection(ClassLoader classLoader)
classLoader - The ClassLoader to use.public boolean isJBossVFSv2()
true if it is, false if it is notpublic boolean isJBossVFSv3()
true if it is, false if it is notpublic boolean isOsgi()
true if it is, false if it is notpublic static boolean isAndroid()
Copyright © 2017. All rights reserved.