Package org.opencms.staticexport
Class CmsPrefixFileFilter
java.lang.Object
org.opencms.staticexport.CmsPrefixFileFilter
- All Implemented Interfaces:
FileFilter
Implements the file filter used to guess the right suffix of a deleted jsp file.
- Since:
- 8.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CmsPrefixFileFilter
Creates a new instance of this filter.- Parameters:
fileName
- the base file to compare with.
-
-
Method Details
-
accept
Accepts the given file if its name starts with the name of of the base file (without extension) and ends with the extension.- Specified by:
accept
in interfaceFileFilter
- See Also:
-