MVTPathBuilder.java 770 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.day.crx.statistics.Entry
 *  com.day.crx.statistics.PathBuilder
 */
package com.day.cq.wcm.core.mvt;

import com.day.crx.statistics.Entry;
import com.day.crx.statistics.PathBuilder;

@Deprecated
public class MVTPathBuilder
extends PathBuilder {
    public static final String STATS_NAME = ".stats";
    private final String path;

    public MVTPathBuilder(String path) {
        super("yyyy/MM/dd");
        this.path = path;
    }

    public void formatPath(Entry entry, StringBuffer buffer) {
        buffer.append(entry.getPathPrefix());
        buffer.append(this.path);
        buffer.append("/").append(".stats").append("/");
        super.formatPath(entry, buffer);
    }
}