Package org.pentaho.di.ui.util
Class EnvironmentUtils
- java.lang.Object
- 
- org.pentaho.di.ui.util.EnvironmentUtils
 
- 
 public class EnvironmentUtils extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringMAC_BROWSERstatic StringUBUNTU_BROWSERstatic StringWINDOWS_BROWSER
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBrowserName()Ask for the browser name.static EnvironmentUtilsgetInstance()booleanisBrowserEnvironmentCheckDisabled()Ask if the browsing environment checks are disabled.booleanisUnsupportedBrowserEnvironment()Checks the available browser to see if it is an unsupported one.booleanisWebkitUnavailable()Checks the existence of the webkit library on ubuntu.
 
- 
- 
- 
Field Detail- 
UBUNTU_BROWSERpublic static final String UBUNTU_BROWSER - See Also:
- Constant Field Values
 
 - 
MAC_BROWSERpublic static final String MAC_BROWSER - See Also:
- Constant Field Values
 
 - 
WINDOWS_BROWSERpublic static final String WINDOWS_BROWSER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getInstancepublic static EnvironmentUtils getInstance() 
 - 
isUnsupportedBrowserEnvironmentpublic boolean isUnsupportedBrowserEnvironment() Checks the available browser to see if it is an unsupported one.- Returns:
- 'true' if in a unSupported browser environment 'false' otherwise.
 
 - 
isWebkitUnavailablepublic boolean isWebkitUnavailable() Checks the existence of the webkit library on ubuntu.- Returns:
- 'true' if the webkit library is not present in ubuntu, 'false' otherwise.
 
 - 
isBrowserEnvironmentCheckDisabledpublic boolean isBrowserEnvironmentCheckDisabled() Ask if the browsing environment checks are disabled.- Returns:
- 'true' if disabled 'false' otherwise.
 
 - 
getBrowserNamepublic String getBrowserName() Ask for the browser name.- Returns:
- a String that contains the browser name.
 
 
- 
 
-