org.apache.maven.plugin.assembly.model
Class FileSet

java.lang.Object
  extended byorg.apache.maven.plugin.assembly.model.SetBase
      extended byorg.apache.maven.plugin.assembly.model.FileSet
All Implemented Interfaces:
java.io.Serializable

public class FileSet
extends SetBase
implements java.io.Serializable

A fileSet allows the inclusion of groups of files into the assembly.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
FileSet()
           
 
Method Summary
 java.lang.String getDirectory()
          Get Sets the absolute or relative location from the module's directory.
 java.lang.String getLineEnding()
          Get Sets the line-endings of the files in this fileSet.
 java.lang.String getModelEncoding()
           
 boolean isFiltered()
          Get Whether to filter symbols in the files as they are copied, using properties from the build configuration.
 void setDirectory(java.lang.String directory)
          Set Sets the absolute or relative location from the module's directory.
 void setFiltered(boolean filtered)
          Set Whether to filter symbols in the files as they are copied, using properties from the build configuration.
 void setLineEnding(java.lang.String lineEnding)
          Set Sets the line-endings of the 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.plugin.assembly.model.SetBase
addExclude, addInclude, getDirectoryMode, getExcludes, getFileMode, getIncludes, getOutputDirectory, isUseDefaultExcludes, isUseStrictFiltering, removeExclude, removeInclude, setDirectoryMode, setExcludes, setFileMode, setIncludes, setOutputDirectory, setUseDefaultExcludes, setUseStrictFiltering
 
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 Sets the absolute or relative location 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 Sets the line-endings of the files in this fileSet. Valid values:

Returns:
String

isFiltered

public boolean isFiltered()
Get Whether to filter symbols in the files as they are copied, using properties from the build configuration.

Returns:
boolean

setDirectory

public void setDirectory(java.lang.String directory)
Set Sets the absolute or relative location 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 -

setFiltered

public void setFiltered(boolean filtered)
Set Whether to filter symbols in the files as they are copied, using properties from the build configuration.

Parameters:
filtered -

setLineEnding

public void setLineEnding(java.lang.String lineEnding)
Set Sets the line-endings of the 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-2008 The Apache Software Foundation. All Rights Reserved.