org.apache.maven.shared.filtering
Interface MavenFileFilter

All Superinterfaces:
DefaultFilterInfo
All Known Implementing Classes:
DefaultMavenFileFilter

public interface MavenFileFilter
extends DefaultFilterInfo

Author:
Olivier Lamy

Method Summary
 void copyFile(File from, File to, boolean filtering, List<FileUtils.FilterWrapper> filterWrappers, String encoding)
           
 void copyFile(File from, File to, boolean filtering, List<FileUtils.FilterWrapper> filterWrappers, String encoding, boolean overwrite)
           
 void copyFile(File from, File to, boolean filtering, MavenProject mavenProject, List<String> filters, boolean escapedBackslashesInFilePath, String encoding, MavenSession mavenSession)
          Will copy a file with some filtering using defaultFilterWrappers.
 void copyFile(MavenFileFilterRequest mavenFileFilterRequest)
           
 
Methods inherited from interface org.apache.maven.shared.filtering.DefaultFilterInfo
getDefaultFilterWrappers, getDefaultFilterWrappers, getDefaultFilterWrappers
 

Method Detail

copyFile

void copyFile(File from,
              File to,
              boolean filtering,
              MavenProject mavenProject,
              List<String> filters,
              boolean escapedBackslashesInFilePath,
              String encoding,
              MavenSession mavenSession)
              throws MavenFilteringException
Will copy a file with some filtering using defaultFilterWrappers.

Parameters:
from - file to copy/filter
to - destination file
filtering - enable or not filering
mavenProject - the mavenproject
filters - List of String which are path to a Property file
Throws:
MavenFilteringException
See Also:
DefaultFilterInfo.getDefaultFilterWrappers(MavenProject, List, boolean, MavenSession)

copyFile

void copyFile(MavenFileFilterRequest mavenFileFilterRequest)
              throws MavenFilteringException
Parameters:
mavenFileFilterRequest -
Throws:
MavenFilteringException
Since:
1.0-beta-3

copyFile

void copyFile(File from,
              File to,
              boolean filtering,
              List<FileUtils.FilterWrapper> filterWrappers,
              String encoding)
              throws MavenFilteringException
Parameters:
from -
to -
filtering -
filterWrappers - List of FileUtils.FilterWrapper
Throws:
MavenFilteringException

copyFile

void copyFile(File from,
              File to,
              boolean filtering,
              List<FileUtils.FilterWrapper> filterWrappers,
              String encoding,
              boolean overwrite)
              throws MavenFilteringException
Parameters:
from -
to -
filtering -
filterWrappers -
encoding -
overwrite -
Throws:
MavenFilteringException
Since:
1.0-beta-2


Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.