Class PathCounterTemplate


  • public final class PathCounterTemplate
    extends Object
    A template for Path objects that uses a counter to produce paths with a fresh new name for every request.
    • Method Detail

      • getFreshPath

        public Path getFreshPath()
        Construct a concrete Path that was not handed out by this instance before.
        Throws:
        IllegalFormatException - If the template is invalid, or the arguments does not match the template.
      • getTemplate

        public String getTemplate()
        Returns the raw template of this instance.