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.
|
getAppContent
public ZipFileAppReader(List<AppReaderPreProcessor> appReaderPreProcessor, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public Map<String,String> getAppMetadata(File appFile) throws IOException
AppReader
Returns the App metadata.
appFile
- the file containing the AppIOException
- if the app could not be readpublic WorkObjectDetails getAppModelDetails(File app) throws IOException
IOException
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.