public interface AppReader
Provides the information needed to import an app.
| Modifier and Type | Method and Description | 
|---|---|
AppContent | 
getAppContent(File appFile,
             String sourceLocation)
Returns the App content. 
 | 
Map<String,String> | 
getAppMetadata(File appFile)
Returns the App metadata. 
 | 
boolean | 
supports(File app)
Checks if the app file is supported by this app reader factory. 
 | 
Map<String,String> getAppMetadata(File appFile) throws IOException
Returns the App metadata.
appFile - the file containing the AppIOException - if the app could not be readAppContent getAppContent(File appFile, String sourceLocation) throws IOException
Returns the App content.
appFile - the file containing the AppsourceLocation - a description of the original App source location (may be different to the file)IOException - if the app could not be readboolean supports(File app)
Checks if the app file is supported by this app reader factory.
app - the given app to checkCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.