Class FileSet

java.lang.Object
org.apache.maven.shared.model.fileset.SetBase
org.apache.maven.shared.model.fileset.FileSet
All Implemented Interfaces:
Serializable

public class FileSet extends SetBase implements Serializable
Defines the rules for matching and working with files in a given base directory.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • FileSet

      public FileSet()
  • Method Details

    • getDirectory

      public String getDirectory()
      Get absolute or relative from the module's directory. For example, "src/main/bin" would select this subdirectory of the project in which this dependency is defined.
      Returns:
      String
    • getLineEnding

      public String getLineEnding()
      Get controls the line-endings of files in this fileSet.
      Valid values:
      • "keep" - Preserve all line endings
      • "unix" - Use Unix-style line endings
      • "lf" - Use a single line-feed line endings
      • "dos" - Use DOS-style line endings
      • "crlf" - Use Carraige-return, line-feed line endings
      Returns:
      String
    • getModelEncoding

      public String getModelEncoding()
      Get the modelEncoding field.
      Returns:
      String
    • setDirectory

      public void setDirectory(String directory)
      Set absolute or relative from the module's directory. For example, "src/main/bin" would select this subdirectory of the project in which this dependency is defined.
      Parameters:
      directory - a directory object.
    • setLineEnding

      public void setLineEnding(String lineEnding)
      Set controls the line-endings of files in this fileSet.
      Valid values:
      • "keep" - Preserve all line endings
      • "unix" - Use Unix-style line endings
      • "lf" - Use a single line-feed line endings
      • "dos" - Use DOS-style line endings
      • "crlf" - Use Carraige-return, line-feed line endings
      Parameters:
      lineEnding - a lineEnding object.
    • setModelEncoding

      public void setModelEncoding(String modelEncoding)
      Set the modelEncoding field.
      Parameters:
      modelEncoding - a modelEncoding object.