|
@@ -1143,6 +1143,7 @@ and \\. |
|
|
<a href="#ignoreblank">IgnoreBlank</a><br> |
|
|
<a href="#ignoreblank">IgnoreBlank</a><br> |
|
|
<a href="#filterdeletecharacters">DeleteCharacters</a><br> |
|
|
<a href="#filterdeletecharacters">DeleteCharacters</a><br> |
|
|
<a href="#uniqfilter">UniqFilter</a><br> |
|
|
<a href="#uniqfilter">UniqFilter</a><br> |
|
|
|
|
|
<a href="#native2asciifilter">Native2AsciiFilter</a><br> |
|
|
</p> |
|
|
</p> |
|
|
|
|
|
|
|
|
The following string filters are provided by the optional distribution. |
|
|
The following string filters are provided by the optional distribution. |
|
@@ -1487,6 +1488,39 @@ This suppresses duplicate lines. |
|
|
</tokenfilter> |
|
|
</tokenfilter> |
|
|
</pre></blockquote> |
|
|
</pre></blockquote> |
|
|
|
|
|
|
|
|
|
|
|
<p><b><em><a name="native2asciifilter">Native2AsciiFilter</a></em></b></p> |
|
|
|
|
|
|
|
|
|
|
|
<p>Uses the "builtin" implementation of |
|
|
|
|
|
the <a href="../Tasks/native2ascii.html">native2ascii</a> task.</p> |
|
|
|
|
|
|
|
|
|
|
|
<p>Replaces non-ascii characters by their Unicode-escapes or |
|
|
|
|
|
vice-versa. <em>Since Ant 1.9.8</em>.</p> |
|
|
|
|
|
|
|
|
|
|
|
<p>This filter may be used directly within a filterchain.</p> |
|
|
|
|
|
|
|
|
|
|
|
<table cellSpacing=0 cellPadding=2 border=1> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td vAlign=top><b>Attribute</b></td> |
|
|
|
|
|
<td vAlign=top><b>Description</b></td> |
|
|
|
|
|
<td vAlign=top align="center"><b>Required</b></td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
|
|
|
<td vAlign=top>reverse</td> |
|
|
|
|
|
<td vAlign=top>Reverse the sense of the conversion, |
|
|
|
|
|
i.e. convert from ASCII to native.</td> |
|
|
|
|
|
<td vAlign=top align="center">No</td> |
|
|
|
|
|
</tr> |
|
|
|
|
|
</table> |
|
|
|
|
|
|
|
|
|
|
|
<h4>Example:</h4> |
|
|
|
|
|
|
|
|
|
|
|
<p>This replaces all non-ASCII characters by their Unicode-escapes.</p> |
|
|
|
|
|
<blockquote><pre> |
|
|
|
|
|
<tokenfilter> |
|
|
|
|
|
<native2asciifilter/> |
|
|
|
|
|
</tokenfilter> |
|
|
|
|
|
</pre></blockquote> |
|
|
|
|
|
|
|
|
<p><b><em><a name="scriptfilter">ScriptFilter</a></em></b></p> |
|
|
<p><b><em><a name="scriptfilter">ScriptFilter</a></em></b></p> |
|
|
This is an optional filter that executes a script in a |
|
|
This is an optional filter that executes a script in a |
|
|
<a href="http://jakarta.apache.org/bsf" target="_top">Apache BSF</a> |
|
|
<a href="http://jakarta.apache.org/bsf" target="_top">Apache BSF</a> |
|
|