public class ZipUtil extends Object
Constructor and Description |
---|
ZipUtil() |
Modifier and Type | Method and Description |
---|---|
ZipArchive |
createZipFile(String owner,
String deviceType,
String deviceId,
String deviceName,
String apiApplicationKey,
String token,
String refreshToken) |
static String |
getServerUrl() |
static ZipArchive |
getSketchArchive(String archivesPath,
String templateSketchPath,
Map contextParams,
String zipFileName) |
public static final String HOST_NAME
public ZipArchive createZipFile(String owner, String deviceType, String deviceId, String deviceName, String apiApplicationKey, String token, String refreshToken) throws org.wso2.carbon.device.mgt.common.DeviceManagementException
org.wso2.carbon.device.mgt.common.DeviceManagementException
public static String getServerUrl()
public static ZipArchive getSketchArchive(String archivesPath, String templateSketchPath, Map contextParams, String zipFileName) throws org.wso2.carbon.device.mgt.common.DeviceManagementException, IOException
org.wso2.carbon.device.mgt.common.DeviceManagementException
IOException
Copyright © 2017 WSO2. All rights reserved.