/** * Creates a new browser version instance. * * @param applicationName the name of the application * @param applicationVersion the version string of the application * @param userAgent the user agent string that will be sent to the server * @param javaScriptVersion the version of JavaScript * @param browserVersionNumeric the floating number version of the browser * @param nickname the short name of the browser (like "FF2", "FF3", "IE6", ...) * @param features the browser features */ private BrowserVersion(final String applicationName, final String applicationVersion, final String userAgent, final String javaScriptVersion, final float browserVersionNumeric, final String nickname, final BrowserVersionFeatures[] features) { applicationName_ = applicationName; setApplicationVersion(applicationVersion); userAgent_ = userAgent; setJavaScriptVersion(javaScriptVersion); browserVersionNumeric_ = browserVersionNumeric; nickname_ = nickname; if (features != null) { features_.addAll(Arrays.asList(features)); } }
/** * Creates a new browser version instance. * * @param applicationName the name of the application * @param applicationVersion the version string of the application * @param userAgent the user agent string that will be sent to the server * @param javaScriptVersion the version of JavaScript * @param browserVersionNumeric the floating number version of the browser * @param nickname the short name of the browser (like "FF2", "FF3", "IE6", ...) * @param features the browser features */ private BrowserVersion(final String applicationName, final String applicationVersion, final String userAgent, final String javaScriptVersion, final float browserVersionNumeric, final String nickname, final BrowserVersionFeatures[] features) { applicationName_ = applicationName; setApplicationVersion(applicationVersion); userAgent_ = userAgent; setJavaScriptVersion(javaScriptVersion); browserVersionNumeric_ = browserVersionNumeric; nickname_ = nickname; if (features != null) { features_.addAll(Arrays.asList(features)); } }
/** * Creates a new browser version instance. * * @param applicationName the name of the application * @param applicationVersion the version string of the application * @param userAgent the user agent string that will be sent to the server * @param javaScriptVersion the version of JavaScript * @param browserVersionNumeric the floating number version of the browser * @param nickname the short name of the browser (like "FF2", "FF3", "IE6", ...) * @param features the browser features */ private BrowserVersion(final String applicationName, final String applicationVersion, final String userAgent, final String javaScriptVersion, final float browserVersionNumeric, final String nickname, final BrowserVersionFeatures[] features) { applicationName_ = applicationName; setApplicationVersion(applicationVersion); userAgent_ = userAgent; setJavaScriptVersion(javaScriptVersion); browserVersionNumeric_ = browserVersionNumeric; nickname_ = nickname; if (features != null) { features_.addAll(Arrays.asList(features)); } }