@Override
    public String rewriteLink(CmsObject cms, CmsResource res) {

        if (checkTypeId(res.getTypeId())) {
            return CmsResourceWrapperUtils.addFileExtension(cms, res.getRootPath(), getExtension());
        }

        return null;
    }
@ Override public String rewriteLink ( CmsObject cms , CmsResource res ) { if ( checkTypeId ( res . getTypeId ( ) ) ) { return CmsResourceWrapperUtils . addFileExtension ( cms , res . getRootPath ( ) , getExtension ( ) ) ; } return null ; }
@see org.opencms.file.wrapper.A_CmsResourceWrapper#rewriteLink(CmsObject, CmsResource)