public class ZipFileAppReader extends BaseAppReader
An app reader that reads from zip files.
| Constructor and Description |
|---|
ZipFileAppReader(List<AppReaderPreProcessor> appReaderPreProcessor,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAppMetadata(File appFile)
Returns the App metadata.
|
WorkObjectDetails |
getAppModelDetails(File app) |
boolean |
supports(File app)
Checks if the app file is supported by this app reader factory.
|
getAppContentpublic ZipFileAppReader(List<AppReaderPreProcessor> appReaderPreProcessor, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public Map<String,String> getAppMetadata(File appFile) throws IOException
AppReaderReturns the App metadata.
appFile - the file containing the AppIOException - if the app could not be readpublic WorkObjectDetails getAppModelDetails(File app) throws IOException
IOExceptionCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.