public class PlatformHelper extends Object
Constructor and Description |
---|
PlatformHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
getFullName(String platform) |
String |
getName() |
static String |
getPlatformKey(String platform,
String version) |
String |
getVersion() |
boolean |
isJBoss() |
boolean |
isJetty() |
boolean |
isNotWindows() |
boolean |
isTomcat() |
boolean |
isWindows() |
boolean |
matches(String platform)
Test whether or not the current platform is same as (or compatible) with
the given one.
|
public String getName()
public String getVersion()
public boolean matches(String platform)
public boolean isTomcat()
public boolean isJBoss()
public boolean isJetty()
public boolean isWindows()
public boolean isNotWindows()
Copyright © 2013 Nuxeo SA. All Rights Reserved.