org.apache.hadoop.maven.plugin.util
Class FileSetUtils

java.lang.Object
  extended by 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.


Constructor Summary
FileSetUtils()
           
 
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
 

Constructor Detail

FileSetUtils

public FileSetUtils()
Method Detail

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.