Class PathBuilder

java.lang.Object
com.day.crx.statistics.PathBuilder
Direct Known Subclasses:
PageViewPathBuilder, ResultSelectedPathBuilder

public class PathBuilder extends Object
PathBuilder is a base class for path builders.
  • Constructor Details

    • PathBuilder

      public PathBuilder(String timestampPattern)
      Creates a new PathBuilder.
      Parameters:
      timestampPattern - a date pattern.
  • Method Details

    • formatPath

      public void formatPath(Entry entry, StringBuffer buffer)
      Formats the path for the given entry.

      This method formats the timestamp of entry according to the pattern passed in the constructor of this path builder.

      Parameters:
      entry - an entry.
      buffer - where to write the path to.