public static CmsGalleryTabConfiguration resolve ( String configStr ) { CmsGalleryTabConfiguration tabConfig ; if ( CmsStringUtil . isEmptyOrWhitespaceOnly ( configStr ) ) { configStr = "*sitemap,types,galleries,categories,vfstree,search,results" ; } if ( DEFAULT_CONFIGURATIONS != null ) { tabConfig = DEFAULT_CONFIGURATIONS . get ( configStr ) ; if ( tabConfig != null ) { return tabConfig ; } } return parse ( configStr ) ; }
Given a string which is either the name of a predefined tab configuration or a configuration string returns the corresponding tab configuration .