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 .