1 | void setInputFile(String file) {↵ | | 1 | void setClassname(String ↵
|
2 | ↵ | | 2 | classname)↵
|
| | | 3 | {↵
|
3 | setProperty(INPUT_FILE, file);↵ | | 4 | setProperty(CLASSNAME, classname);↵
|
4 | }↵ | | 5 | }↵
|
|
5 | /**↵ | | 6 | /**↵
|
6 | * return the path of the input file↵ | | 7 | * Gets the ↵
|
7 | * ↵ | | |
|
8 | ↵ | | 8 | Classname attribute of the JavaConfig object↵
|
| | | 9 | *↵
|
| | | 10 | * @return the Classname value↵
|
9 | */↵ | | 11 | */↵
|
10 | public String getInputFile() {↵ | | 12 | public String get↵
|
11 | ↵ | | 13 | Classname()↵
|
| | | 14 | {↵
|
12 | return getPropertyAsString(INPUT_FILE);↵ | | 15 | return getPropertyAsString(↵
|
13 | }↵ | | |
|
|
14 | ↵ | | 16 | CLASSNAME);↵
|
| | | 17 | }↵
|
| | | 18 | ↵
|
15 | /**↵ | | 19 | /**↵
|
16 | * set the random path for the messages↵ | | 20 | * Set the ↵
|
17 | * ↵ | | |
|
18 | * @param path↵ | | |
|
19 | ↵ | | 21 | string label used to create an instance of the↵
|
| | | 22 | * test with the string constructor.↵
|
| | | 23 | * @param constr↵
|
20 | */↵ | | 24 | */↵
|
21 | public void setRandomPath(String path) {↵ | | 25 | public void set↵
|
22 | setProperty(RANDOM_PATH, path);↵ | | |
|
23 | }↵ | | |
|
|
24 | ↵ | | 26 | ConstructorString(String constr)↵
|
| | | 27 | {↵
|
| | | 28 | setProperty(CONSTRUCTORSTRING,constr);↵
|
| | | 29 | }↵
|
| | | 30 | ↵
|
25 | /**↵ | | 31 | /**↵
|
26 | * return the random path for messages↵ | | 32 | * get the ↵
|
27 | * ↵ | | |
|
28 | ↵ | | 33 | string passed to the string constructor↵
|
29 | */↵ | | 34 | */↵
|
30 | public String getRandomPath() {↵ | | 35 | public String get↵
|
31 | ↵ | | 36 | ConstructorString()↵
|
| | | 37 | {↵
|
32 | return getPropertyAsString(RANDOM_PATH);↵ | | 38 | return getPropertyAsString(↵
|
33 | | | 39 | CONSTRUCTORSTRING);↵
|
| | | 40 |
|