org.wso2.carbon.device.mgt.iot.raspberrypi.service.impl.util

## Class ZipUtil

- java.lang.Object
- - org.wso2.carbon.device.mgt.iot.raspberrypi.service.impl.util.ZipUtil

-     public class ZipUtil
      extends Object

  This is used to create a zip file that includes the necessary configuration required for the agent.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ZipUtil()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ZipArchive` | `createZipFile(String owner, String tenantDomain, String deviceType, String deviceId, String deviceName, String token, String refreshToken)`
    `static String` | `getServerUrl()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ZipUtil

          public ZipUtil()

  - ### Method Detail

    - #### createZipFile

          public ZipArchive createZipFile(String owner,
                                 String tenantDomain,
                                 String deviceType,
                                 String deviceId,
                                 String deviceName,
                                 String token,
                                 String refreshToken)
                                   throws org.wso2.carbon.device.mgt.common.DeviceManagementException

      Throws:
        `org.wso2.carbon.device.mgt.common.DeviceManagementException`

    - #### getServerUrl

          public static String getServerUrl()

Copyright © 2017 WSO2. All rights reserved.