public static class Concat.TextElement extends ProjectComponent
Constructor and Description |
---|
TextElement() |
Modifier and Type | Method and Description |
---|---|
void |
addText(String value)
set the text using inline
|
String |
getValue() |
void |
setEncoding(String encoding)
The encoding of the text element
|
void |
setFile(File file)
set the text using a file
|
void |
setFiltering(boolean filtering)
whether to filter the text in this element
or not.
|
void |
setTrim(boolean trim)
whether to call text.trim()
|
void |
setTrimLeading(boolean strip)
s:^\s*:: on each line of input
|
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public void addText(String value)
value
- the text to place inlinepublic String getValue()
public void setEncoding(String encoding)
encoding
- the name of the charset used to encodepublic void setFile(File file) throws BuildException
file
- the file to useBuildException
- if the file does not exist, or cannot be
readpublic void setFiltering(boolean filtering)
filtering
- true if the text should be filtered.
the default value is true.public void setTrim(boolean trim)
trim
- if true trim the textpublic void setTrimLeading(boolean strip)
strip
- if true do the trim