In the replace attribute, you can refer to any part of the The following call could be used to replace an old property name in a ".properties"įile with a new name. "false" indicates to perform replacement on the whole file at once. "true" indicates to perform replacement on a line by line basis default is to replace only the first oneīyline -> Should this file be processed a single line at a time (default is false)
Replace -> The Expression replacement stringįlags -> The options to give to the replacement The same time, nor can you specify the replace attribute and the substitution subelement atįile -> A single file to operation on (mutually exclusive
Also, you cannot specify both match and a regular expression subelement at You may not have the file attribute specified if you nest fileset elements NOTE: You must have either the file attribute specified, or at least one fileset subelement Requires the jdk 1.4 built in regular expression package. Is. andįor jdk = 1.4 an additional implementation is available: Will be the classname of the implementation that will be used (the default The syntax of the regular expression depends on the implementation that That is, they must be text only, no binary. The input file(s) must be able to be properly processed byĪ Reader instance. Performs regular expression string replacements in a textįile. SUMMARY: NESTED | FIELD | CONSTR | METHOD