Class ResourcePath


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

      • getAbsoluteLevel

        public static int getAbsoluteLevel​(@NotNull
                                           @NotNull 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