Class FileSet
java.lang.Object
org.apache.maven.shared.model.fileset.SetBase
org.apache.maven.shared.model.fileset.FileSet
- All Implemented Interfaces:
Serializable
Defines the rules for matching and working with files in
a given base directory.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet absolute or relative from the module's directory.Get controls the line-endings of files in this fileSet.Get the modelEncoding field.void
setDirectory
(String directory) Set absolute or relative from the module's directory.void
setLineEnding
(String lineEnding) Set controls the line-endings of files in this fileSet.void
setModelEncoding
(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
-
Constructor Details
-
FileSet
public FileSet()
-
-
Method Details
-
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
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
Get the modelEncoding field.- Returns:
- String
-
setDirectory
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
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
Set the modelEncoding field.- Parameters:
modelEncoding
- a modelEncoding object.
-