Class PathBuilder

    • Constructor Detail

      • PathBuilder

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

      • 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.