类 UserAgentFileParser
java.lang.Object
com.walker.web.agent.impl.UserAgentFileParser
-
方法概要
修饰符和类型方法说明static UserAgentParserparse(Reader input, Collection<BrowsCapField> fields) Parses a csv stream of rules.
-
方法详细资料
-
parse
public static UserAgentParser parse(Reader input, Collection<BrowsCapField> fields) throws IOException, ParseException Parses a csv stream of rules.- 参数:
input- The input streamfields- The fields that should be stored during parsing- 返回:
- a UserAgentParser based on the read rules
- 抛出:
IOException- If reading the stream failed.ParseException
-