1 | void setMimeType(String newMimeType) {↵ | | 1 | void set↵
|
2 | setProperty(new StringProperty(MIMETYPE, newMimeType));↵ | | |
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * Get the mimetype of the File.↵ | | |
|
6 | *↵ | | |
|
7 | * @return the http parameter mimetype↵ | | |
|
8 | */↵ | | |
|
9 | public String getMimeType() {↵ | | |
|
10 | return getPropertyAsString(MIMETYPE);↵ | | |
|
11 | }↵ | | |
|
|
12 | /**↵ | | |
|
13 | * Set the path of the File.↵ | | |
|
14 | *↵ | | |
|
15 | * @param newPath↵ | | |
|
16 | * the new path↵ | | |
|
17 | */↵ | | |
|
18 | ↵ | | 2 | ConnTimeOut(String connto) {↵
|
| | | 3 | setProperty(new StringProperty(CONNTO, connto));↵
|
| | | 4 | }↵
|
|
| | | 5 | public String getConnTimeOut() {↵
|
| | | 6 | return getPropertyAsString(CONNTO);↵
|
| | | 7 | }↵
|
| | | 8 | ↵
|
19 | public void setPath(String newPath) {↵ | | 9 | public void setSecure(String ↵
|
20 | ↵ | | 10 | sec) {↵
|
21 | setProperty(new StringProperty(FILEPATH, newPath));↵ | | 11 | setProperty(new StringProperty(SECURE, sec));↵
|
22 | } | | 12 | }
|