returns a new resource with the root resource set to this resource . concode_field_sep PlaceHolder placeHolder concode_field_sep Resource createResource concode_elem_sep InternalResource createRelative concode_elem_sep InternalResource getParentResource concode_elem_sep InternalResource[] list concode_elem_sep InternalResource getRootResource
InternalResource function ( InternalResource arg0 ) { String loc0 = arg0 . getPath ( ) ; if ( arg0 . isDirectory ( ) ) { return doCreateResourceProvider ( loc0 ) . getRootResource ( ) ; } else { return ( InternalResource ) arg0 . chroot ( "srini_string" ) . createRelative ( arg0 . getFilename ( ) ) ; } }