Module de.carne.swt.browseradapater
Class PlatformHelper
- java.lang.Object
-
- de.carne.swt.browseradapter.platform.PlatformHelper
-
- Direct Known Subclasses:
GtkPlatformHelper
public abstract class PlatformHelper extends java.lang.ObjectUtility class providing platform specific functions.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPlatformHelper()Constructs a new PlatformHelper instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleaninternalIsChromiumAvailable()Checks whether the Chromium browser backend is available.protected booleaninternalIsWebKitAvailable()Checks whether the WebKit browser backend is available.static booleanisChromiumAvailable()Checks whether the Chromium browser backend is available.static booleanisWebKitAvailable()Checks whether the WebKit browser backend is available.
-
-
-
Constructor Detail
-
PlatformHelper
protected PlatformHelper()
Constructs a new PlatformHelper instance.
-
-
Method Detail
-
isWebKitAvailable
public static boolean isWebKitAvailable()
Checks whether the WebKit browser backend is available.- Returns:
trueif the WebKit browser backend is available.
-
internalIsWebKitAvailable
protected boolean internalIsWebKitAvailable()
Checks whether the WebKit browser backend is available.- Returns:
trueif the WebKit browser backend is available.
-
isChromiumAvailable
public static boolean isChromiumAvailable()
Checks whether the Chromium browser backend is available.- Returns:
trueif the Chromium browser backend is available.
-
internalIsChromiumAvailable
protected boolean internalIsChromiumAvailable()
Checks whether the Chromium browser backend is available.- Returns:
trueif the Chromium browser backend is available.
-
-