| | |
| | | String[] kv = token.split("=", 2);
|
| | | content = content.replace(kv[0], kv[1]);
|
| | | }
|
| | | for (String token:params.regex) {
|
| | | String[] kv = token.split("!!!", 2);
|
| | | content = content.replaceAll(kv[0], kv[1]);
|
| | | }
|
| | | for (String alias : params.properties) {
|
| | | String[] kv = alias.split("=", 2);
|
| | | String loadedContent = generatePropertiesContent(new File(kv[1]));
|
| | |
| | | @Parameter(names = { "--nomarkdown" }, description = "%STARTTOKEN%:%ENDTOKEN%", required = false)
|
| | | public List<String> nomarkdown = new ArrayList<String>();
|
| | |
|
| | | @Parameter(names = { "--regex" }, description = "searchPattern!!!replacePattern", required = false)
|
| | | public List<String> regex = new ArrayList<String>();
|
| | |
|
| | | }
|
| | | }
|