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