Package com.axway.apim.appexport.impl
Class JsonApplicationExporter
- java.lang.Object
-
- com.axway.apim.appexport.impl.ApplicationExporter
-
- com.axway.apim.appexport.impl.JsonApplicationExporter
-
- Direct Known Subclasses:
YamlApplicationExporter
public class JsonApplicationExporter extends ApplicationExporter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.axway.apim.appexport.impl.ApplicationExporter
ApplicationExporter.ResultHandler
-
-
Constructor Summary
Constructors Constructor Description JsonApplicationExporter(AppExportParams params, com.axway.apim.lib.ExportResult result)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexport(List<com.axway.apim.api.model.apps.ClientApplication> apps)com.axway.apim.adapter.client.apps.ClientAppFiltergetFilter()voidsaveApplicationLocally(ExportApplication app, ApplicationExporter applicationExporter)static voidstoreCaCert(File localFolder, String certBlob, String filename)static voidwriteBytesToFile(byte[] bFile, String fileDest)-
Methods inherited from class com.axway.apim.appexport.impl.ApplicationExporter
create, getBaseFilterBuilder, getCreatedBy, getCreatedOn, getCustomProperties, hasError
-
-
-
-
Constructor Detail
-
JsonApplicationExporter
public JsonApplicationExporter(AppExportParams params, com.axway.apim.lib.ExportResult result)
-
-
Method Detail
-
export
public void export(List<com.axway.apim.api.model.apps.ClientApplication> apps) throws com.axway.apim.lib.error.AppException
- Specified by:
exportin classApplicationExporter- Throws:
com.axway.apim.lib.error.AppException
-
saveApplicationLocally
public void saveApplicationLocally(ExportApplication app, ApplicationExporter applicationExporter) throws com.axway.apim.lib.error.AppException
- Throws:
com.axway.apim.lib.error.AppException
-
writeBytesToFile
public static void writeBytesToFile(byte[] bFile, String fileDest) throws com.axway.apim.lib.error.AppException- Throws:
com.axway.apim.lib.error.AppException
-
storeCaCert
public static void storeCaCert(File localFolder, String certBlob, String filename) throws com.axway.apim.lib.error.AppException
- Throws:
com.axway.apim.lib.error.AppException
-
getFilter
public com.axway.apim.adapter.client.apps.ClientAppFilter getFilter() throws com.axway.apim.lib.error.AppException- Specified by:
getFilterin classApplicationExporter- Throws:
com.axway.apim.lib.error.AppException
-
-