public class FileSet extends Object implements Serializable
__property__
pattern, it is replaced with
corresponding property value.Constructor and Description |
---|
FileSet() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(String string)
Method addExclude.
|
void |
addInclude(String string)
Method addInclude.
|
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.
|
String |
getEncoding()
Get encoding to use when filtering content.
|
List<String> |
getExcludes()
Method getExcludes.
|
List<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(String string)
Method removeExclude.
|
void |
removeInclude(String string)
Method removeInclude.
|
void |
setDirectory(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(String encoding)
Set encoding to use when filtering content.
|
void |
setExcludes(List<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(List<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.
|
String |
toString() |
public void addExclude(String string)
string
- public void addInclude(String string)
string
- public String getDirectory()
public String getEncoding()
public boolean isFiltered()
public boolean isPackaged()
public void removeExclude(String string)
string
- public void removeInclude(String string)
string
- public void setDirectory(String directory)
directory
- public void setEncoding(String encoding)
encoding
- public void setExcludes(List<String> excludes)
excludes
- public void setFiltered(boolean filtered)
filtered
- public void setIncludes(List<String> includes)
includes
- public void setPackaged(boolean packaged)
packaged
- Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.