1 | String getXmlData() {↵ | | 1 | String getMessageChoice() {↵
|
2 | return getPropertyAsString(XML_DATA);↵ | | 2 | return getPropertyAsString(MESSAGE_CHOICE);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵ | | |
|
6 | * string path.↵ | | |
|
7 | ↵ | | 5 | * set the input file for the publisher↵
|
8 | *↵ | | 6 | * ↵
|
9 | * @param filename↵ | | 7 | * @param file↵
|
10 | ↵ | | |
|
11 | */↵ | | 8 | */↵
|
12 | public void setXmlFile(String filename) {↵ | | 9 | public void setInputFile(String file) {↵
|
13 | setProperty(XML_DATA_FILE, filename);↵ | | 10 | setProperty(INPUT_FILE, file↵
|
14 | ↵ | | 11 | );↵
|
15 | }↵ | | 12 | }↵
|
|
16 | /**↵ | | 13 | /**↵
|
17 | * Get the file location of the xml file.↵ | | 14 | * return the ↵
|
18 | *↵ | | |
|
19 | * @return String file path.↵ | | |
|
20 | ↵ | | 15 | path of the input file↵
|
| | | 16 | * ↵
|
21 | */↵ | | 17 | */↵
|
22 | public String getXmlFile() {↵ | | 18 | public String getInputFile() {↵
|
23 | return getPropertyAsString(XML_DATA_FILE);↵ | | 19 | return getPropertyAsString(INPUT_FILE);↵
|
24 | } | | 20 | }
|