public class Converter extends Object
The primary purpose of this class is to expose a JNDI-dependant method to the IDir implementation classes without exposing JNDI dependancies in the public directory java API.
BaseAttributes and BaseAttribute are a collaborators with this class.
Constructor and Description |
---|
Converter() |
Modifier and Type | Method and Description |
---|---|
static Attributes |
toAttributes(ICS ics,
Attributes JNDIattrs)
Convert the specified class.
|
static Attribute |
toJNDIAttribute(Attribute attr)
Convert the specified class.
|
static Attributes |
toJNDIAttributes(Attributes attrs)
Convert the specified class.
|
public static Attributes toJNDIAttributes(Attributes attrs)
Convert the specified class.
The attributes of the original set are not themselves cloned. Changes to the returned object will not affect the original and vice versa.
public static Attribute toJNDIAttribute(Attribute attr)
Convert the specified class.
The values of the original attribute are not themselves cloned. Changes to the returned object will affect the original and vice versa.
public static Attributes toAttributes(ICS ics, Attributes JNDIattrs) throws DirectoryException
Convert the specified class.
Changes to the returned object will NOT affect the original and vice versa.
DirectoryException