java.lang.Object
org.apache.sling.distribution.resources.impl.common.SimplePathInfo

public class SimplePathInfo extends Object
Path info representing a main resource. The requestPath = resourcePath + resourcePathInfo The identified resource can be of three types: root - resourcePath = resourceRoot main - resourcePath = resourceRoot + mainResourceName child - resourcePath = resourceRoot + mainResourceName + childResourceName
  • Method Details

    • getResourcePathInfo

      public String getResourcePathInfo()
    • getMainResourceName

      public String getMainResourceName()
    • getChildResourceName

      public String getChildResourceName()
    • isRoot

      public boolean isRoot()
    • isMain

      public boolean isMain()
    • isChild

      public boolean isChild()
    • getResourcePath

      public String getResourcePath()
    • parsePathInfo

      public static SimplePathInfo parsePathInfo(String resourceRoot, String requestPath)