1 | void setInputFile(String file) {↵ | | 1 | void setRandomPath(String path) {↵
|
2 | setProperty(INPUT_FILE, file);↵ | | 2 | setProperty(RANDOM_PATH, path);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * return the path of the input file↵ | | 5 | * return the random path for messages↵
|
6 | * ↵ | | 6 | * ↵
|
7 | */↵ | | 7 | */↵
|
8 | public String getInputFile() {↵ | | 8 | public String getRandomPath() {↵
|
9 | return getPropertyAsString(INPUT_FILE);↵ | | 9 | return getPropertyAsString(RANDOM_PATH);↵
|
10 | }↵ | | 10 | }↵
|
|
11 | /**↵ | | 11 | /**↵
|
12 | * set the random path for the messages↵ | | 12 | * set the text for the message↵
|
13 | * ↵ | | 13 | * ↵
|
14 | * @param path↵ | | 14 | * @param message↵
|
15 | */↵ | | 15 | */↵
|
16 | public void setRandomPath(String path) {↵ | | 16 | public void setTextMessage(String message) {↵
|
17 | setProperty(RANDOM_PATH, path);↵ | | 17 | setProperty(TEXT_MSG, message);↵
|
18 | }↵ | | 18 | }↵
|
|
19 | /**↵ | | 19 | /**↵
|
20 | * return the random path for messages↵ | | 20 | * return the text for the message↵
|
21 | * ↵ | | 21 | * ↵
|
22 | */↵ | | 22 | */↵
|
23 | public String getRandomPath() {↵ | | 23 | public String getTextMessage() {↵
|
24 | return getPropertyAsString(RANDOM_PATH);↵ | | 24 | return getPropertyAsString(TEXT_MSG);↵
|
25 | | | 25 |
|