org.linkedin.util-core/src/main/java/org/linkedin/util/io/resource/internal/AbstractResource.java
@Override
  public Resource chroot(String relativePath)
  {
    return _resourceProvider.chroot((InternalResource) createRelative(relativePath));
  }
@Override
  public Resource chroot(String relativePath)
  {
    return _resourceProvider.chroot((InternalResource) createRelative(relativePath));
  }
@ Override public Resource chroot ( String relativePath ) { return _resourceProvider . chroot ( ( InternalResource ) createRelative ( relativePath ) ) ; }
Returns a new resource with the root resource set to the relative path provided. Note that the
new resource points at the new root as well.

@param relativePath
@return the new resource
Returns a new resource with the root resource set to the relative path provided . Note that the new resource points at the new root as well .