org.keycloak.exportimport.zip

## Class ZipImportProvider

- java.lang.Object
- - org.keycloak.exportimport.zip.ZipImportProvider

- All Implemented Interfaces:
    ImportProvider, Provider

      public class ZipImportProvider
      extends Object
      implements ImportProvider

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ZipImportProvider(File zipFile, String password)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `void` | `importModel(KeycloakSessionFactory factory, Strategy strategy)`
    `void` | `importRealm(KeycloakSessionFactory factory, String realmName, Strategy strategy)`

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

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

- - ### Constructor Detail

    - #### ZipImportProvider

          public ZipImportProvider(File zipFile,
                           String password)

  - ### Method Detail

    - #### importModel

          public void importModel(KeycloakSessionFactory factory,
                         Strategy strategy)
                           throws IOException

      Specified by:
        `importModel` in interface `ImportProvider`
      Throws:
        `IOException`

    - #### importRealm

          public void importRealm(KeycloakSessionFactory factory,
                         String realmName,
                         Strategy strategy)
                           throws IOException

      Specified by:
        `importRealm` in interface `ImportProvider`
      Throws:
        `IOException`

    - #### close

          public void close()

      Specified by:
        `close` in interface `Provider`

Copyright © 2014. All Rights Reserved.