Package org.opencms.staticexport
Class CmsExportFolderMatcher
java.lang.Object
org.opencms.staticexport.CmsExportFolderMatcher
This class provides a file name matcher to find out those resources which must be part of
a static export.
- Since:
- 6.0.0
-
Constructor Summary
ConstructorDescriptionCmsExportFolderMatcher
(List<String> vfsFolders, String checkResource) Creates a new CmsExportFolderMatcher. -
Method Summary
-
Constructor Details
-
CmsExportFolderMatcher
Creates a new CmsExportFolderMatcher.- Parameters:
vfsFolders
- array of vfsFolder used for static exportcheckResource
- additional resource name to be added to the static export
-
-
Method Details
-
match
Checks if a vfsName matches the given static export folders.- Parameters:
vfsName
- the vfs name of a resource to check- Returns:
- true if the name matches one of the given static export folders
-