org.springframework.ldap.ldif.batch

## Class LdifAggregator

- java.lang.Object
- - org.springframework.ldap.ldif.batch.LdifAggregator

- All Implemented Interfaces:
    org.springframework.batch.item.file.transform.LineAggregator<LdapAttributes>

  Deprecated.
  Use the support provided in Spring Batch infrastructure Specifically see org.springframework.batch.item.file.transform.PassThroughLineAggregator

      @Deprecated
      public class LdifAggregator
      extends Object
      implements org.springframework.batch.item.file.transform.LineAggregator<LdapAttributes>

  The `LdifAggregator` object is an implementation of the `LineAggregator` interface for use with a `FlatFileItemWriter` to write LDIF records to a file.
  Author:
    Keith Barlow

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LdifAggregator()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `aggregate(LdapAttributes item)` Deprecated. Returns a `String` containing a properly formated LDIF.

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

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

- - ### Constructor Detail

    - #### LdifAggregator

          public LdifAggregator()

      Deprecated.

  - ### Method Detail

    - #### aggregate

          public String aggregate(LdapAttributes item)

      Deprecated.
      Returns a `String` containing a properly formated LDIF.
      Specified by:
        `aggregate` in interface `org.springframework.batch.item.file.transform.LineAggregator<LdapAttributes>`
      Parameters:
        `item` - LdapAttributes object to convert to string.
      Returns:
        string representation of the object LDIF format (in accordance with RFC 2849).