Class PathNodeUtils


  • public class PathNodeUtils
    extends Object
    Author:
    sergey.pak Date: 12/19/2014 Time: 7:29 PM
    • Constructor Detail

      • PathNodeUtils

        public PathNodeUtils()
    • Method Detail

      • getFullPath

        @NotNull
        public static String getFullPath​(@NotNull
                                         PathNodeEx pathNode)
      • createFromParentPath

        @Nullable
        public static <T extends PathNode<T>> T createFromParentPath​(@NotNull
                                                                     T parent,
                                                                     @NotNull
                                                                     Iterable<String> pathParts)
      • hasChildren

        public static boolean hasChildren​(@NotNull
                                          PathNode node)
      • getChild

        @Nullable
        public static <T extends PathNode<T>> T getChild​(@NotNull
                                                         T node,
                                                         @NotNull
                                                         String childName)