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.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ZipUtil.TemplateFile`

  - ### 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)`

    - ### 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`

Copyright © 2017 WSO2. All rights reserved.