1 | String getName() {↵ | | 1 | String getMimeType() {↵
|
2 | return getPropertyAsString(ARG_NAME);↵ | | 2 | return getPropertyAsString(MIMETYPE);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Sets the value of the Argument.↵ | | 5 | * Set the path of the File.↵
|
6 | * ↵ | | 6 | *↵
|
7 | * @param newValue↵ | | 7 | * @param new↵
|
8 | * ↵ | | 8 | Path↵
|
9 | the new value↵ | | 9 | * the new path↵
|
10 | */↵ | | 10 | */↵
|
11 | public void setValue(String newValue) {↵ | | 11 | public void setPath(String newPath) {↵
|
12 | setProperty(new StringProperty(VALUE, newValue));↵ | | 12 | setProperty(new StringProperty(FILEPATH, newPath));↵
|
13 | }↵ | | 13 | }↵
|
|
14 | /**↵ | | 14 | /**↵
|
15 | * Gets the value of the Argument object.↵ | | 15 | * Get the path of the File.↵
|
16 | * ↵ | | 16 | *↵
|
17 | * @return the attribute's value↵ | | 17 | * @return the file's path↵
|
18 | */↵ | | 18 | */↵
|
19 | public String getValue() {↵ | | 19 | public String getPath() {↵
|
20 | return getPropertyAsString(VALUE);↵ | | 20 | return getPropertyAsString(FILEPATH);↵
|
21 | } | | 21 | }
|