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.
  • 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