1 | String getParamName() {↵ | | 1 | String getMimeType() {↵
|
2 | return getPropertyAsString(PARAMNAME);↵ | | 2 | return getPropertyAsString(MIMETYPE);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Set the mimetype of the File.↵ | | 5 | * Set the path of the File.↵
|
6 | *↵ | | 6 | *↵
|
7 | * @param newMimeType↵ | | 7 | * @param newPath↵
|
8 | * the new mimetype↵ | | 8 | * the new path↵
|
9 | */↵ | | 9 | */↵
|
10 | public void setMimeType(String newMimeType) {↵ | | 10 | public void setPath(String newPath) {↵
|
11 | setProperty(new StringProperty(MIMETYPE, newMimeType));↵ | | 11 | setProperty(new StringProperty(FILEPATH, newPath));↵
|
12 | }↵ | | 12 | }↵
|
|
13 | /**↵ | | 13 | /**↵
|
14 | * Get the mimetype of the File.↵ | | 14 | * Get the path of the File.↵
|
15 | *↵ | | 15 | *↵
|
16 | * @return the http parameter mimetype↵ | | 16 | * @return the file's path↵
|
17 | */↵ | | 17 | */↵
|
18 | public String getMimeType() {↵ | | 18 | public String getPath() {↵
|
19 | return getPropertyAsString(MIMETYPE);↵ | | 19 | return getPropertyAsString(FILEPATH);↵
|
20 | | | 20 |
|