public interface ArchiveProcessor<T>
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespace() |
List<String> |
getValidExtensions() |
T |
process(mobi.designmyapp.common.engine.model.UploadRequest request,
File destDir,
List<String> unhandledFiles)
When uploading a file, the engine uses a @see mobi.designmyapp.sdk.processor.impl.ZipUploadProcessor to self-extract the resource,
then calls this method automatically.
|
String getNamespace()
T process(mobi.designmyapp.common.engine.model.UploadRequest request, File destDir, List<String> unhandledFiles) throws IOException
request - the @see mobi.designmyapp.common.model.UploadRequest object.destDir - the directory where processed resources are to be stored.unhandledFiles - the list of files that were ignored (not matching the @see mobi.designmyapp.sdk.processor.ArchiveProcessor#getValidExtensions()IOExceptionCopyright © 2015. All rights reserved.