| com.mycompany.fileupload.api.UploadFileImpl
UploadFileImpl | final public class UploadFileImpl extends UploadFile (Code) | | Implementation of the UploadFile function.
Description: Upload a file.
version: $Revision: 1.3 $ $Date: 2007/03/12 10:46:14 $ author: TODO |
Constructor Summary | |
public | UploadFileImpl(APIImpl api) Constructs a new UploadFileImpl instance. |
Method Summary | |
public Result | call(Request request) Calls this function. | protected String | getDestinationFile(String inputFileName) Gets the destination for the uploaded file. |
UploadFileImpl | public UploadFileImpl(APIImpl api)(Code) | | Constructs a new UploadFileImpl instance.
Parameters: api - the API to which this function belongs, guaranteed to be notnull . |
call | public Result call(Request request) throws Throwable(Code) | | Calls this function. If the function fails, it may throw any kind of
exception. All exceptions will be handled by the caller.
Parameters: request - the request, never null .the result of the function call, should never be null . throws: Throwable - if anything went wrong. |
getDestinationFile | protected String getDestinationFile(String inputFileName)(Code) | | Gets the destination for the uploaded file.
Parameters: inputFileName - the original location from the client.the name of the file to store the uploaded file. |
|
|