Class PathTemplate


  • @Immutable
    public final class PathTemplate
    extends Object
    A template for paths, from which a real path can be constructed by passing some values to fill in the blanks.
    • Method Detail

      • getPath

        public Path getPath​(Object... args)
        Construct a concrete Path from this template and the given values.
        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.