String function ( String arg0 ) { if ( "srini_string" . equals ( arg0 ) ) { return "srini_string" ; } String loc0 = ( arg0 . substring ( 0 , arg0 . length ( ) - 1 ) ) ; return arg0 . substring ( loc0 . lastIndexOf ( '/' ) + 1 ) ; }
returns the name of a resource without the path information . the resource name of a file is the name of the file . the resource name of a folder is the folder name with trailing '' / '' . the resource name of the root folder is / . example : / system/workplace / has the resource name workplace / . concode_field_sep CmsResourceState STATE_CHANGED concode_elem_sep CmsResourceState STATE_DELETED concode_elem_sep CmsResourceState STATE_KEEP concode_elem_sep CmsResourceState STATE_UNCHANGED concode_elem_sep CmsResourceState STATE_NEW concode_elem_sep String TEMP_FILE_PREFIX concode_field_sep int getPathLevel concode_elem_sep String getParentFolder concode_elem_sep boolean isFolder concode_elem_sep String getPathPart concode_elem_sep boolean isTemporaryFileName concode_elem_sep String getFolderPath