@Override
    protected List<File> getRelatedFilesToPurge(String exportFileName, String vfsName) {

        FileFilter htmlFilter = new FileFilter() {

            /**
             * Accepts only html files
             */
            public boolean accept(File file) {

                return file.isFile() && (file.getName().endsWith(".html") || file.getName().endsWith(".htm"));
            }

        };

        return CmsFileUtil.getFiles(exportFileName, htmlFilter, true);
    }
@ Override protected List < File > getRelatedFilesToPurge ( String exportFileName , String vfsName ) { FileFilter htmlFilter = new FileFilter ( ) { public boolean accept ( File file ) { return file . isFile ( ) && ( file . getName ( ) . endsWith ( ".html" ) || file . getName ( ) . endsWith ( ".htm" ) ) ; } } ; return CmsFileUtil . getFiles ( exportFileName , htmlFilter , true ) ; }
@see org.opencms.staticexport.A_CmsOnDemandStaticExportHandler#getRelatedFilesToPurge(java.lang.String, java.lang.String)