org.keycloak.exportimport.io.directory

## Class TmpDirExportWriter

- java.lang.Object
- - org.keycloak.exportimport.io.directory.TmpDirExportWriter

- All Implemented Interfaces:
    ExportWriter

      public class TmpDirExportWriter
      extends Object
      implements ExportWriter

  Author:
    Marek Posolda

- - ### Constructor Summary

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

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `closeExportWriter()`
    `protected boolean` | `recursiveDeleteDir(File dirPath)`
    `<T> void` | `writeEntities(String fileName, List<T> entities)`

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

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

- - ### Constructor Detail

    - #### TmpDirExportWriter

          public TmpDirExportWriter()

    - #### TmpDirExportWriter

          public TmpDirExportWriter(File rootDirectory)

  - ### Method Detail

    - #### recursiveDeleteDir

          protected boolean recursiveDeleteDir(File dirPath)

    - #### writeEntities

          public <T> void writeEntities(String fileName,
                               List<T> entities)

      Specified by:
        `writeEntities` in interface `ExportWriter`

    - #### closeExportWriter

          public void closeExportWriter()

      Specified by:
        `closeExportWriter` in interface `ExportWriter`

Copyright © 2014. All Rights Reserved.