|
File | getPath (URI uri) |
|
boolean | isDirectory (File path) |
|
void | copyFileToDirectory (File src, File dst) throws IOException |
|
void | copyFile (File src, File dst) throws IOException |
|
◆ upload()
void eu.baltrad.beast.net.CopyFileUploadHandler.upload |
( |
File | src, |
|
|
URI | dst ) throws IOException |
|
inline |
Upload a file.
The implementations should determine if the dst
refers to a file or a directory and in case of the former rename the file.
- Parameters
-
src | the file to copy |
dst | the destination URI. |
- Exceptions
-
IOException | when copying fails |
Implements eu.baltrad.beast.net.FileUploadHandler.
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/net/CopyFileUploadHandler.java