public class ResourceCompilerMojo extends AbstractMojo implements FilenameFilter
sis-build-helper
module
for more information.Defined in the sis-build-helper module
Constructor and Description |
---|
ResourceCompilerMojo() |
public void execute() throws MojoExecutionException
execute
in interface Mojo
MojoExecutionException
- if the plugin execution failed.public final boolean accept(File directory, String name)
true
if the given file is the source code for a resources bundle.
This method returns true
if the given file is a Java source file and if a
properties file of the same name exists.accept
in interface FilenameFilter
directory
- The directory.name
- The file name.true
if the given file is a property file.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.