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