1 | void setDefaultValue(String defaultValue) {↵ | | 1 | void set↵
|
2 | setProperty(DEFAULT, defaultValue);↵ | | |
|
3 | }↵ | | |
|
| | | 2 | InputFile(String file) {↵
|
| | | 3 | setProperty(INPUT_FILE, file);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * return the path of the input file↵
|
| | | 7 | * ↵
|
| | | 8 | */↵
|
4 | public String getDefaultValue() {↵ | | 9 | public String getInputFile() {↵
|
5 | return getPropertyAsString(DEFAULT);↵ | | 10 | return getPropertyAsString(INPUT_FILE);↵
|
6 | }↵ | | 11 | }↵
|
|
| | | 12 | /**↵
|
| | | 13 | * set the random path for the messages↵
|
| | | 14 | * ↵
|
| | | 15 | * @param path↵
|
| | | 16 | */↵
|
7 | public void setTemplate(String template) {↵ | | 17 | public void setRandomPath(String path) {↵
|
8 | setProperty(TEMPLATE, template);↵ | | 18 | setProperty(RANDOM_PATH, ↵
|
9 | }↵ | | |
|
| | | 19 | path);↵
|
| | | 20 | }↵
|
|
| | | 21 | /**↵
|
| | | 22 | * return the random path for messages↵
|
| | | 23 | * ↵
|
| | | 24 | */↵
|
10 | public String getTemplate() {↵ | | 25 | public String getRandomPath() {↵
|
11 | return getPropertyAsString(TEMPLATE);↵ | | 26 | return getPropertyAsString(RANDOM_PATH);↵
|
12 | } | | 27 | }
|