@Immutable public class BrowserInfo extends Object implements com.helger.commons.text.display.IHasDisplayText
| Modifier and Type | Field and Description |
|---|---|
static BrowserInfo |
IS_IT_NOT
Is it not
|
| Modifier | Constructor and Description |
|---|---|
protected |
BrowserInfo()
Only to indicate that this is not the desired browser.
|
|
BrowserInfo(EBrowserType eBrowserType,
com.helger.commons.version.Version aVersion) |
| Modifier and Type | Method and Description |
|---|---|
EBrowserType |
getBrowserType() |
String |
getDisplayText(Locale aContentLocale) |
com.helger.commons.version.Version |
getVersion() |
boolean |
isIt() |
boolean |
isItNot() |
String |
toString() |
public static final BrowserInfo IS_IT_NOT
protected BrowserInfo()
public BrowserInfo(@Nonnull EBrowserType eBrowserType, @Nonnull com.helger.commons.version.Version aVersion)
public final boolean isIt()
public final boolean isItNot()
@Nullable public final EBrowserType getBrowserType()
@Nullable @OverrideOnDemand public String getDisplayText(@Nonnull Locale aContentLocale)
getDisplayText in interface com.helger.commons.text.display.IHasDisplayText@Nonnull public final com.helger.commons.version.Version getVersion()
Copyright © 2016–2019 Philip Helger. All rights reserved.