Class FileSetUtils
java.lang.Object
org.apache.hadoop.maven.plugin.util.FileSetUtils
FileSetUtils contains helper methods for mojo implementations that need to
work with a Maven FileSet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertFileSetToFiles(org.apache.maven.model.FileSet source) Converts a Maven FileSet to a list of File objects.
-
Constructor Details
-
FileSetUtils
public FileSetUtils()
-
-
Method Details
-
convertFileSetToFiles
public static List<File> convertFileSetToFiles(org.apache.maven.model.FileSet source) throws IOException Converts a Maven FileSet to a list of File objects.- Parameters:
source- FileSet to convert- Returns:
- List containing every element of the FileSet as a File
- Throws:
IOException- if an I/O error occurs while trying to find the files
-