| Package | Description |
|---|---|
| org.wso2.carbon.apimgt.importexport.utils |
| Modifier and Type | Method and Description |
|---|---|
static String |
APIImportUtil.extractArchive(File sourceFile,
String destination)
This method decompresses API the archive
|
static void |
APIImportUtil.importAPI(String pathToArchive,
String currentUser,
boolean isDefaultProviderAllowed)
This method imports an API
|
static void |
APIImportUtil.transferFile(InputStream uploadedInputStream,
String newFileName,
String storageLocation)
This method uploads a given file to specified location
|
Copyright © 2018 WSO2 Inc. All rights reserved.