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 opcode of the Argument.↵
|
6 | *↵ | | 6 | * ↵
|
7 | * @param newPath↵ | | 7 | * @param new↵
|
8 | * ↵ | | 8 | Opcode↵
|
9 | the new path↵ | | 9 | * the new value↵
|
10 | */↵ | | 10 | */↵
|
11 | public void setPath(String newPath) {↵ | | 11 | public void setOpcode(String newOpcode) {↵
|
12 | setProperty(new StringProperty(FILEPATH, newPath));↵ | | 12 | setProperty(new StringProperty(OPCODE, newOpcode));↵
|
13 | }↵ | | 13 | }↵
|
|
14 | /**↵ | | 14 | /**↵
|
15 | * Get the path of the File.↵ | | 15 | * Gets the opcode of the Argument object.↵
|
16 | *↵ | | 16 | * ↵
|
17 | * @return the file's path↵ | | 17 | * @return the attribute's value↵
|
18 | */↵ | | 18 | */↵
|
19 | public String getPath() {↵ | | 19 | public String getOpcode() {↵
|
20 | return getPropertyAsString(FILEPATH);↵ | | 20 | return getPropertyAsString(OPCODE);↵
|
21 | } | | 21 | }
|