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