protected boolean shouldIncludeContents(Map<String, String> params) {

        String includeContentsStr = params.get(CmsPublishOptions.PARAM_INCLUDE_CONTENTS);
        boolean includeContents = false;
        try {
            includeContents = Boolean.parseBoolean(includeContentsStr);
        } catch (Exception e) {
            // ignore; includeContents remains the default value
        }
        return includeContents;
    }
protected boolean shouldIncludeContents ( Map < String , String > params ) { String includeContentsStr = params . get ( CmsPublishOptions . PARAM_INCLUDE_CONTENTS ) ; boolean includeContents = false ; try { includeContents = Boolean . parseBoolean ( includeContentsStr ) ; } catch ( Exception e ) { } return includeContents ; }
Returns true if the folder contents should be included.<p>

@param params the publish parameters
@return true if the folder contents should be included