Package com.taobao.loganalyzer.input.tanxclick.common

Examples of com.taobao.loganalyzer.input.tanxclick.common.LogRecord


        }
        //5.4 匹配Section04(6)(不记录)
        //5.5 推广Section05(8)(不记录)
        flags[3] = false ;
        flags[4] = false ;
        LogRecord lr = new LogRecord();
        LogParser lp = new LogParser(line);

        for (int i = 0; i < sp.length; i++) {
            if (flags[i] == true) {
                boolean ret = sp[i].parse(lp, lr);
View Full Code Here


     * @param line 需要解析的点击日志
     * @param flags 需要点击的点击日志的section的列表,true为需要解析,false为不需要解析;建议熟悉底层解析逻辑者使用。
     * @return 解析的结果,存储在ClickLog中,null表示格式不符合
     */
    public static TanxClickLog parse(String line, boolean[] flags) {
        LogRecord lr = parseClick(line, flags);
        if (lr == null) return null;
        return new TanxClickLog(lr);
    }
View Full Code Here

TOP

Related Classes of com.taobao.loganalyzer.input.tanxclick.common.LogRecord

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.