org.apache.maven.model
Class FileSet

java.lang.Object
  extended by org.apache.maven.model.PatternSet
      extended by org.apache.maven.model.FileSet
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Resource

public class FileSet
extends PatternSet
implements Serializable

A PatternSet for files.

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

Constructor Summary
FileSet()
           
 
Method Summary
 String getDirectory()
          Get describe the directory where the resources are stored.
 String getModelEncoding()
           
 void setDirectory(String directory)
          Set describe the directory where the resources are stored.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 String toString()
           
 
Methods inherited from class org.apache.maven.model.PatternSet
addExclude, addInclude, getExcludes, getIncludes, removeExclude, removeInclude, setExcludes, setIncludes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileSet

public FileSet()
Method Detail

getDirectory

public String getDirectory()
Get describe the directory where the resources are stored. The path is relative to the POM.

Returns:
String

setDirectory

public void setDirectory(String directory)
Set describe the directory where the resources are stored. The path is relative to the POM.

Parameters:
directory -

toString

public String toString()
Overrides:
toString in class PatternSet
See Also:
Object.toString()

setModelEncoding

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

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

getModelEncoding

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


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.