toolbox.ldap
Class MapBuilderImpl

Package class diagram package MapBuilderImpl
java.lang.Object
  extended by toolbox.ldap.MapBuilderImpl
All Implemented Interfaces:
MapBuilder

public class MapBuilderImpl
extends java.lang.Object
implements MapBuilder

Default MapBuilder implementation.


Constructor Summary
MapBuilderImpl()
          Default constructor.
 
Method Summary
 java.util.Map buildMap(javax.naming.directory.Attributes attributes)
          Convert the given naming Attributes into a Map instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapBuilderImpl

public MapBuilderImpl()
Default constructor.

Method Detail

buildMap

public java.util.Map buildMap(javax.naming.directory.Attributes attributes)
                       throws LDAPException
Convert the given naming Attributes into a Map instance.

Specified by:
buildMap in interface MapBuilder
Parameters:
attributes - Attributes instance to convert.
Returns:
Map instance containing attribute name-value pairs.
Throws:
LDAPException - if the attributes cannot be converted.