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