private List<CmsResource> getResources() {

        List<CmsResource> result = new LinkedList<CmsResource>();
        CmsObject cms = getCms();
        CmsResourceFilter filter = CmsResourceFilter.ALL;
        try {
            for (String path : m_paths) {
                List<CmsResource> resources = cms.readResources(path, filter, true);
                result.addAll(resources);
            }
        } catch (CmsException e) {
            if (LOG.isErrorEnabled()) {
                LOG.error(Messages.get().getBundle().key(Messages.LOG_ERR_PROPERTYVIEWER_READRESOURCES_0), e);
            }
            result = Collections.emptyList();
        }
        return result;
    }
private List < CmsResource > getResources ( ) { List < CmsResource > result = new LinkedList < CmsResource > ( ) ; CmsObject cms = getCms ( ) ; CmsResourceFilter filter = CmsResourceFilter . ALL ; try { for ( String path : m_paths ) { List < CmsResource > resources = cms . readResources ( path , filter , true ) ; result . addAll ( resources ) ; } } catch ( CmsException e ) { if ( LOG . isErrorEnabled ( ) ) { LOG . error ( Messages . get ( ) . getBundle ( ) . key ( Messages . LOG_ERR_PROPERTYVIEWER_READRESOURCES_0 ) , e ) ; } result = Collections . emptyList ( ) ; } return result ; }
Internally reads the resources to use.<p>

@return the resources to use.