org.apache.maven.shared.model.fileset
Class FileSet

java.lang.Object
  extended by org.apache.maven.shared.model.fileset.SetBase
      extended by 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: 886882 $ $Date: 2013-11-16 21:55:43 +0000 (Sat, 16 Nov 2013) $
See Also:
Serialized Form

Constructor Summary
FileSet()
           
 
Method Summary
 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()
           
 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 an encoding used for reading/writing the model.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:

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:

Parameters:
lineEnding -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Set an encoding used for reading/writing the model.

Overrides:
setModelEncoding in class SetBase
Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class SetBase
Returns:
the current encoding used when reading/writing this model.


Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.