Class PathBuilder

    • Constructor Summary

      Constructors 
      Constructor Description
      PathBuilder​(java.lang.String timestampPattern)
      Creates a new PathBuilder.
    • 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PathBuilder

        public PathBuilder​(java.lang.String timestampPattern)
        Creates a new PathBuilder.
        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 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.