public class ZipUploadProcessor extends Object implements UploadProcessor
| Constructor and Description |
|---|
ZipUploadProcessor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespace()
Retrieve namespace : representing where the uploaded file will be stored
|
List<String> |
getValidExtensions()
Retrieve valid extensions for this processor
|
Object |
process(mobi.designmyapp.common.engine.model.UploadRequest request,
File destDir)
Process the upload request
|
public static final String NAMESPACE
public String getNamespace()
getNamespace in interface UploadProcessorpublic Object process(mobi.designmyapp.common.engine.model.UploadRequest request, File destDir) throws IOException
process in interface UploadProcessorrequest - the UploadRequest. @see mobi.designmyapp.common.engine.model.UploadRequest.destDir - the destination directory. Contains all resources already uploaded through this implementation.IOExceptionpublic List<String> getValidExtensions()
getValidExtensions in interface UploadProcessorCopyright © 2015. All rights reserved.