Package com.day.crx.statistics
Class PathBuilder
- java.lang.Object
-
- com.day.crx.statistics.PathBuilder
-
- Direct Known Subclasses:
PageViewPathBuilder
,ResultSelectedPathBuilder
public class PathBuilder extends java.lang.Object
PathBuilder
is a base class for path builders.
-
-
Constructor Summary
Constructors Constructor Description PathBuilder(java.lang.String timestampPattern)
Creates a newPathBuilder
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
formatPath(Entry entry, java.lang.StringBuffer buffer)
Formats the path for the given entry.
-
-
-
Constructor Detail
-
PathBuilder
public PathBuilder(java.lang.String timestampPattern)
Creates a newPathBuilder
.- Parameters:
timestampPattern
- a date pattern.
-
-
Method Detail
-
formatPath
public void formatPath(Entry entry, java.lang.StringBuffer buffer)
Formats the path for the given entry. This method formats the timestamp ofentry
according to the pattern passed in the constructor of this path builder.- Parameters:
entry
- an entry.buffer
- where to write the path to.
-
-