org.apache.hadoop.maven.plugin.util
Class FileSetUtils
java.lang.Object
org.apache.hadoop.maven.plugin.util.FileSetUtils
public class FileSetUtils
- extends Object
FileSetUtils contains helper methods for mojo implementations that need to
work with a Maven FileSet.
|
Method Summary |
static List<File> |
convertFileSetToFiles(org.apache.maven.model.FileSet source)
Converts a Maven FileSet to a list of File objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSetUtils
public FileSetUtils()
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
Copyright © 2014 Apache Software Foundation. All Rights Reserved.