public class IconUploadProcessor extends Object implements UploadProcessor<mobi.designmyapp.common.engine.model.Image>
| Constructor and Description |
|---|
IconUploadProcessor() |
IconUploadProcessor(String iconFileName) |
| 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
|
mobi.designmyapp.common.engine.model.Image |
process(mobi.designmyapp.common.engine.model.UploadRequest request,
File destDir)
Process the upload request
|
public IconUploadProcessor()
public IconUploadProcessor(String iconFileName)
public String getNamespace()
getNamespace in interface UploadProcessor<mobi.designmyapp.common.engine.model.Image>public mobi.designmyapp.common.engine.model.Image process(mobi.designmyapp.common.engine.model.UploadRequest request,
File destDir)
throws IOException
process in interface UploadProcessor<mobi.designmyapp.common.engine.model.Image>request - 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 UploadProcessor<mobi.designmyapp.common.engine.model.Image>Copyright © 2015. All rights reserved.