Package 

Object PathPattern.ReferencePath

  • All Implemented Interfaces:
    icu.windea.breezeframework.core.component.Component , icu.windea.breezeframework.core.component.PathPattern

    
    public class PathPattern.ReferencePath
    extends PathPattern.AbstractPathPattern
                        

    引用路径。

    规则:

    • .作为分隔符,可以在索引之前省略。

    • [index] 匹配索引indexindex是整数。

    • name 匹配名字、键name

    • Method Summary

      Modifier and Type Method Description
      String normalize(String path) 标准化指定的路径。将会去除其中的空白以及尾随的分隔符。
      Boolean matches(String value, String path) 判断指定的字符串是否匹配指定的路径。
      Map<String, String> resolveVariables(String value, String path) 解析路径变量。如果路径不匹配,则返回空结果。
      • Methods inherited from class icu.windea.breezeframework.core.component.PathPattern.ReferencePath

        get, getOrDefault, getOrElse, getOrNull, joinToString, joinToString, joinToString, query, split, splitToSequence
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait