Class ResourcePath


  • @Deprecated
    public final class ResourcePath
    extends java.lang.Object
    Deprecated.
    Use io.wcm.wcm.commons.util.Path instead.
    Helper methods for resource path handling.
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static int getAbsoluteLevel​(@NotNull java.lang.String path)
      Deprecated.
      Gets level from parent use same logic (but reverse) as Text.getAbsoluteParent(String, int).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAbsoluteLevel

        public static int getAbsoluteLevel​(@NotNull
                                           @NotNull java.lang.String path)
        Deprecated.
        Gets level from parent use same logic (but reverse) as Text.getAbsoluteParent(String, int).
        Parameters:
        path - Path
        Returns:
        level >= 0 if path is value, -1 if path is invalid