1 | void setInputFile(String file) {↵ | | 1 | void set↵
|
2 | setProperty(INPUT_FILE, file);↵ | | |
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * return the path of the input file↵ | | |
|
6 | * ↵ | | |
|
7 | */↵ | | 2 | DefaultValue(String defaultValue) {↵
|
| | | 3 | setProperty(DEFAULT, defaultValue);↵
|
| | | 4 | }↵
|
|
8 | public String getInputFile() {↵ | | 5 | public String getDefaultValue() {↵
|
9 | return getPropertyAsString(INPUT_FILE);↵ | | 6 | return getPropertyAsString(DEFAULT);↵
|
10 | }↵ | | 7 | }↵
|
|
11 | /**↵ | | |
|
12 | * set the random path for the messages↵ | | |
|
13 | * ↵ | | |
|
14 | * @param path↵ | | |
|
15 | */↵ | | |
|
16 | public void setRandomPath(String path) {↵ | | 8 | public void setTemplate(String template) {↵
|
17 | setProperty(RANDOM_PATH, path);↵ | | 9 | setProperty(TEMPLATE, template);↵
|
18 | } | | 10 | }
|