Class FileSet

  • All Implemented Interfaces:
    java.io.Serializable

    public class FileSet
    extends SetBase
    implements java.io.Serializable
    Defines the rules for matching and working with files in a given base directory.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Detail

      • directory

        private java.lang.String directory
        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.
      • lineEnding

        private java.lang.String lineEnding
        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
      • modelEncoding

        private java.lang.String modelEncoding
        Field modelEncoding.
    • Constructor Detail

      • FileSet

        public FileSet()
    • Method Detail

      • getDirectory

        public java.lang.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 java.lang.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 java.lang.String getModelEncoding()
        Get the modelEncoding field.
        Returns:
        String
      • setDirectory

        public void setDirectory​(java.lang.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 -
      • setLineEnding

        public void setLineEnding​(java.lang.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 -
      • setModelEncoding

        public void setModelEncoding​(java.lang.String modelEncoding)
        Set the modelEncoding field.
        Parameters:
        modelEncoding -