Interface MavenFileFilter
- All Superinterfaces:
DefaultFilterInfo
- All Known Implementing Classes:
DefaultMavenFileFilter
- Author:
- Olivier Lamy
-
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFile(File from, File to, boolean filtering, List<FilterWrapper> filterWrappers, String encoding) Deprecated.voidcopyFile(File from, File to, boolean filtering, List<FilterWrapper> filterWrappers, String encoding, boolean overwrite) Deprecated.voidcopyFile(File from, File to, boolean filtering, List<FilterWrapper> filterWrappers, String encoding, ChangeDetection changeDetection) voidcopyFile(File from, File to, boolean filtering, org.apache.maven.project.MavenProject mavenProject, List<String> filters, boolean escapedBackslashesInFilePath, String encoding, org.apache.maven.execution.MavenSession mavenSession) Deprecated.voidcopyFile(File from, File to, boolean filtering, org.apache.maven.project.MavenProject mavenProject, List<String> filters, boolean escapedBackslashesInFilePath, String encoding, org.apache.maven.execution.MavenSession mavenSession, ChangeDetection changeDetection) Will copy a file with some filtering using defaultFilterWrappers.voidcopyFile(MavenFileFilterRequest mavenFileFilterRequest) Methods inherited from interface DefaultFilterInfo
getDefaultFilterWrappers, getDefaultFilterWrappers
-
Method Details
-
copyFile
void copyFile(File from, File to, boolean filtering, org.apache.maven.project.MavenProject mavenProject, List<String> filters, boolean escapedBackslashesInFilePath, String encoding, org.apache.maven.execution.MavenSession mavenSession) throws MavenFilteringException Deprecated.Will copy a file with some filtering using defaultFilterWrappers.- Parameters:
from- file to copy/filterto- destination filefiltering- enable or not filteringmavenProject-MavenProjectfilters-Listof String which are path to a Property fileescapedBackslashesInFilePath- escape backslashes in file path.encoding- The encoding which is used during the filtering process.mavenSession-MavenSession- Throws:
MavenFilteringException- in case of failure.- See Also:
-
copyFile
@Deprecated void copyFile(File from, File to, boolean filtering, List<FilterWrapper> filterWrappers, String encoding) throws MavenFilteringException Deprecated.- Parameters:
from- The source fileto- The target filefiltering- true to apply filteringfilterWrappers-Listof FileUtils.FilterWrapperencoding- The encoding used during the filtering.- Throws:
MavenFilteringException- In case of an error.
-
copyFile
@Deprecated void copyFile(File from, File to, boolean filtering, List<FilterWrapper> filterWrappers, String encoding, boolean overwrite) throws MavenFilteringException Deprecated.- Parameters:
from- The source fileto- The destination filefiltering- true to apply filteringfilterWrappers- The filters to be applied.encoding- The encoding to useoverwrite- unused- Throws:
MavenFilteringException- In case of an error.- Since:
- 1.0-beta-2
-
copyFile(File, File, boolean, List, String, ChangeDetection)instead