org.keycloak.exportimport.dir

## Class DirImportProvider

- java.lang.Object
- - org.keycloak.exportimport.dir.DirImportProvider

- All Implemented Interfaces:
    ImportProvider, Provider

      public class DirImportProvider
      extends Object
      implements ImportProvider

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DirImportProvider()`
    `DirImportProvider(File rootDirectory)`

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

    - #### DirImportProvider

          public DirImportProvider()

    - #### DirImportProvider

          public DirImportProvider(File rootDirectory)

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