citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/util/WebBrowserUtil.java
public static String getOperatingSystem(final WebBrowser webBrowser) {
		synchronized (USER_AGENT_ANALYZER) {
			final UserAgent userAgent = USER_AGENT_ANALYZER.parse(webBrowser.getBrowserApplication());
			return userAgent.getValue(UserAgent.DEVICE_CLASS) + "." +userAgent.getValue(UserAgent.OPERATING_SYSTEM_NAME) +"." + userAgent.getValue(UserAgent.OPERATING_SYSTEM_VERSION);			
		}
	}
public static String getOperatingSystem(final WebBrowser webBrowser) {
		synchronized (USER_AGENT_ANALYZER) {
			final UserAgent userAgent = USER_AGENT_ANALYZER.parse(webBrowser.getBrowserApplication());
			return userAgent.getValue(UserAgent.DEVICE_CLASS) + "." +userAgent.getValue(UserAgent.OPERATING_SYSTEM_NAME) +"." + userAgent.getValue(UserAgent.OPERATING_SYSTEM_VERSION);			
		}
	}
public static String getOperatingSystem ( final WebBrowser webBrowser ) { synchronized ( USER_AGENT_ANALYZER ) { final UserAgent userAgent = USER_AGENT_ANALYZER . parse ( webBrowser . getBrowserApplication ( ) ) ; return userAgent . getValue ( UserAgent . DEVICE_CLASS ) + "." + userAgent . getValue ( UserAgent . OPERATING_SYSTEM_NAME ) + "." + userAgent . getValue ( UserAgent . OPERATING_SYSTEM_VERSION ) ; } }
Gets the operating system.

@param webBrowser
the web browser
@return the operating system
Gets the operating system .