public interface UploadProcessor<T>
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespace()
The namespace identifies the UploadProcessor.
|
List<String> |
getValidExtensions() |
T |
process(mobi.designmyapp.common.engine.model.UploadRequest request,
File destDir)
Called by the engine when a file has been successfully uploaded for the current matching namespace.
|
String getNamespace()
T process(mobi.designmyapp.common.engine.model.UploadRequest request, File destDir) throws IOException
request - the UploadRequest. @see mobi.designmyapp.common.engine.model.UploadRequest.destDir - the destination directory. Contains all resources already uploaded through this implementation.IOExceptionCopyright © 2015. All rights reserved.