Class FileSet
- java.lang.Object
-
- org.apache.maven.shared.model.fileset.SetBase
-
- org.apache.maven.shared.model.fileset.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 Summary
Fields Modifier and Type Field Description private java.lang.String
directory
Absolute or relative from the module's directory.private java.lang.String
lineEnding
Controls the line-endings of files in this fileSet.private java.lang.String
modelEncoding
Field modelEncoding.
-
Constructor Summary
Constructors Constructor Description FileSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDirectory()
Get absolute or relative from the module's directory.java.lang.String
getLineEnding()
Get controls the line-endings of files in this fileSet.java.lang.String
getModelEncoding()
Get the modelEncoding field.void
setDirectory(java.lang.String directory)
Set absolute or relative from the module's directory.void
setLineEnding(java.lang.String lineEnding)
Set controls the line-endings of files in this fileSet.void
setModelEncoding(java.lang.String modelEncoding)
Set the modelEncoding field.-
Methods inherited from class org.apache.maven.shared.model.fileset.SetBase
addExclude, addInclude, getDirectoryMode, getExcludes, getExcludesArray, getFileMode, getIncludes, getIncludesArray, getMapper, getOutputDirectory, isFollowSymlinks, isUseDefaultExcludes, removeExclude, removeInclude, setDirectoryMode, setExcludes, setFileMode, setFollowSymlinks, setIncludes, setMapper, setOutputDirectory, setUseDefaultExcludes
-
-
-
-
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.
-
-
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
-
-
-