org.keycloak.exportimport.singlefile

## Class SingleFileExportProvider

- java.lang.Object
- - org.keycloak.exportimport.singlefile.SingleFileExportProvider

- All Implemented Interfaces:
    ExportProvider, Provider

      public class SingleFileExportProvider
      extends Object
      implements ExportProvider

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SingleFileExportProvider(File file)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `void` | `exportModel(KeycloakSessionFactory factory)`
    `void` | `exportRealm(KeycloakSessionFactory factory, String realmName)`
    `void` | `setFile(File file)`

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

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

- - ### Constructor Detail

    - #### SingleFileExportProvider

          public SingleFileExportProvider(File file)

  - ### Method Detail

    - #### setFile

          public void setFile(File file)

    - #### exportModel

          public void exportModel(KeycloakSessionFactory factory)
                           throws IOException

      Specified by:
        `exportModel` in interface `ExportProvider`
      Throws:
        `IOException`

    - #### exportRealm

          public void exportRealm(KeycloakSessionFactory factory,
                         String realmName)
                           throws IOException

      Specified by:
        `exportRealm` in interface `ExportProvider`
      Throws:
        `IOException`

    - #### close

          public void close()

      Specified by:
        `close` in interface `Provider`

Copyright © 2014. All Rights Reserved.