@Component(role=org.apache.maven.shared.filtering.MavenFileFilter.class,
hint="default")
public class VelocityWhitespaceFilter
extends org.apache.maven.shared.filtering.DefaultMavenFileFilter
Constructor and Description |
---|
VelocityWhitespaceFilter() |
Modifier and Type | Method and Description |
---|---|
void |
copyFile(File from,
File to,
boolean filtering,
List<org.apache.maven.shared.utils.io.FileUtils.FilterWrapper> filterWrappers,
String encoding,
boolean overwrite)
Copies the given file using the
VelocityWhitespaceFilteringReader so that
the Velocity Template copied will output less whitespace. |
protected boolean |
shouldFilter(File from)
Whether or not the given file should be filtered.
|
copyFile, copyFile, copyFile
protected boolean shouldFilter(File from)
from
- the file to testpublic void copyFile(File from, File to, boolean filtering, List<org.apache.maven.shared.utils.io.FileUtils.FilterWrapper> filterWrappers, String encoding, boolean overwrite) throws org.apache.maven.shared.filtering.MavenFilteringException
VelocityWhitespaceFilteringReader
so that
the Velocity Template copied will output less whitespace.copyFile
in interface org.apache.maven.shared.filtering.MavenFileFilter
copyFile
in class org.apache.maven.shared.filtering.DefaultMavenFileFilter
org.apache.maven.shared.filtering.MavenFilteringException
Copyright© 2018 Jeremy Long. All Rights Reserved.