Interface MavenResourcesFiltering
-
- All Known Implementing Classes:
DefaultMavenResourcesFiltering
public interface MavenResourcesFiltering
- Author:
- Olivier Lamy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
filteredFileExtension(String fileName, List<String> userNonFilteredFileExtensions)
void
filterResources(MavenResourcesExecution mavenResourcesExecution)
List<String>
getDefaultNonFilteredFileExtensions()
return the List of the non filtered extensions (jpg,jpeg,gif,bmp,png,ico)
-
-
-
Method Detail
-
getDefaultNonFilteredFileExtensions
List<String> getDefaultNonFilteredFileExtensions()
return the List of the non filtered extensions (jpg,jpeg,gif,bmp,png,ico)
-
filteredFileExtension
boolean filteredFileExtension(String fileName, List<String> userNonFilteredFileExtensions)
- Parameters:
fileName
- the file nameuserNonFilteredFileExtensions
- an extra list of file extensions- Returns:
- true if filtering can be applied to the file (means extensions.lowerCase is in the default List or in the user defined extension List)
-
filterResources
void filterResources(MavenResourcesExecution mavenResourcesExecution) throws MavenFilteringException
- Parameters:
mavenResourcesExecution
-MavenResourcesExecution
- Throws:
MavenFilteringException
- in case of failure.
-
-