public class FileSet
extends java.lang.Object
implements java.io.Serializable
__property__
pattern, it is replaced with
corresponding property value.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
directory
The directory where the files will be searched for, which is
also the directory where the
project's files will be generated.
|
private java.lang.String |
encoding
Encoding to use when filtering content.
|
private java.util.List<java.lang.String> |
excludes
Field excludes.
|
private boolean |
filtered
Filesets can be filtered, which means the
selected files will be used as
Velocity
templates.
|
private java.util.List<java.lang.String> |
includes
Field includes.
|
private boolean |
packaged
Filesets can be packaged, which means the selected files
will be generated/copied in a directory
structure that is prepended by the package
property.
|
Constructor and Description |
---|
FileSet() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(java.lang.String string)
Method addExclude.
|
void |
addInclude(java.lang.String string)
Method addInclude.
|
java.lang.String |
getDirectory()
Get the directory where the files will be searched for,
which is also the directory where the
project's files will be generated.
|
java.lang.String |
getEncoding()
Get encoding to use when filtering content.
|
java.util.List<java.lang.String> |
getExcludes()
Method getExcludes.
|
java.util.List<java.lang.String> |
getIncludes()
Method getIncludes.
|
boolean |
isFiltered()
Get filesets can be filtered, which means the selected files
will be used as
Velocity
templates.
|
boolean |
isPackaged()
Get filesets can be packaged, which means the selected files
will be generated/copied in a directory
structure that is prepended by the package
property.
|
void |
removeExclude(java.lang.String string)
Method removeExclude.
|
void |
removeInclude(java.lang.String string)
Method removeInclude.
|
void |
setDirectory(java.lang.String directory)
Set the directory where the files will be searched for,
which is also the directory where the
project's files will be generated.
|
void |
setEncoding(java.lang.String encoding)
Set encoding to use when filtering content.
|
void |
setExcludes(java.util.List<java.lang.String> excludes)
Set exclusion definition "à la" Ant.
|
void |
setFiltered(boolean filtered)
Set filesets can be filtered, which means the selected files
will be used as
Velocity
templates.
|
void |
setIncludes(java.util.List<java.lang.String> includes)
Set inclusion definition "à la" Ant.
|
void |
setPackaged(boolean packaged)
Set filesets can be packaged, which means the selected files
will be generated/copied in a directory
structure that is prepended by the package
property.
|
java.lang.String |
toString() |
private boolean filtered
private boolean packaged
private java.lang.String encoding
private java.lang.String directory
private java.util.List<java.lang.String> includes
private java.util.List<java.lang.String> excludes
public void addExclude(java.lang.String string)
string
- public void addInclude(java.lang.String string)
string
- public java.lang.String getDirectory()
public java.lang.String getEncoding()
public java.util.List<java.lang.String> getExcludes()
public java.util.List<java.lang.String> getIncludes()
public boolean isFiltered()
public boolean isPackaged()
public void removeExclude(java.lang.String string)
string
- public void removeInclude(java.lang.String string)
string
- public void setDirectory(java.lang.String directory)
directory
- public void setEncoding(java.lang.String encoding)
encoding
- public void setExcludes(java.util.List<java.lang.String> excludes)
excludes
- public void setFiltered(boolean filtered)
filtered
- public void setIncludes(java.util.List<java.lang.String> includes)
includes
- public void setPackaged(boolean packaged)
packaged
- public java.lang.String toString()
toString
in class java.lang.Object