All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.magictools.http.useragent.UserAgentUtil Maven / Gradle / Ivy

Go to download

magic-tools 是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数式语言般的优雅,让Java语言也可以“甜甜的”。

The newest version!
package com.magictools.http.useragent;

/**
 * User-Agent工具类
 *
 * @author looly
 *
 */
public class UserAgentUtil {

	/**
	 * 解析User-Agent
	 *
	 * @param userAgentString User-Agent字符串
	 * @return {@link UserAgent}
	 */
	public static UserAgent parse(String userAgentString) {
		return UserAgentParser.parse(userAgentString);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy