|
BEAST
|
Public Member Functions | |
| void | upload (File src, URI dst) throws IOException |
| Upload a file. | |
| URI | appendPath (URI uri, String path) |
| Append a path to an URI. | |
| URI eu.baltrad.beast.net.FileUploadHandler.appendPath | ( | URI | uri, |
| String | path ) |
Append a path to an URI.
| uri | the uri to append to |
| path | the path to append |
Implemented in eu.baltrad.beast.net.FileUploadHandlerBase.
| void eu.baltrad.beast.net.FileUploadHandler.upload | ( | File | src, |
| URI | dst ) throws IOException |
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.
| src | the file to copy |
| dst | the destination URI. |
| IOException | when copying fails |
Implemented in eu.baltrad.beast.net.CopyFileUploadHandler, eu.baltrad.beast.net.ftp.FTPFileUploadHandler, and eu.baltrad.beast.net.scp.SCPFileUploadHandler.