com.infoengine.administration
Class ldifUtil

java.lang.Object
  extended bycom.infoengine.administration.ldifUtil

public class ldifUtil
extends Object


Constructor Summary
ldifUtil()
           
 
Method Summary
private static void appendVal(StringBuffer sb, byte[] val)
           
private static void appendVal(StringBuffer sb, String val)
           
private static void appendVal(StringBuffer sb, String val, String base)
           
private static void appendVal(StringBuffer sb, String val, String base, boolean property)
           
static Element dn2element(String dn)
           
static String group2ldif(Group ldifg)
           
static String group2ldif(Group ldifg, String base)
           
static Group ldif2group(String ldif)
           
static Group ldif2group(String ldif, String base)
           
static Group ldifstring2group(String ldif)
           
static Group ldifstring2group(String ldif, String base)
           
private static boolean safe(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ldifUtil

public ldifUtil()
Method Detail

ldif2group

public static Group ldif2group(String ldif)
                        throws IEException
Throws:
IEException

ldif2group

public static Group ldif2group(String ldif,
                               String base)
                        throws IEException
Throws:
IEException

ldifstring2group

public static Group ldifstring2group(String ldif)
                              throws IEException
Throws:
IEException

ldifstring2group

public static Group ldifstring2group(String ldif,
                                     String base)
                              throws IEException
Throws:
IEException

safe

private static boolean safe(String s)

appendVal

private static void appendVal(StringBuffer sb,
                              String val)
                       throws IEException
Throws:
IEException

appendVal

private static void appendVal(StringBuffer sb,
                              String val,
                              String base)
                       throws IEException
Throws:
IEException

appendVal

private static void appendVal(StringBuffer sb,
                              String val,
                              String base,
                              boolean property)
                       throws IEException
Throws:
IEException

appendVal

private static void appendVal(StringBuffer sb,
                              byte[] val)
                       throws IEException
Throws:
IEException

group2ldif

public static String group2ldif(Group ldifg)
                         throws IEException
Throws:
IEException

group2ldif

public static String group2ldif(Group ldifg,
                                String base)
                         throws IEException
Throws:
IEException

dn2element

public static Element dn2element(String dn)
                          throws IEException
Throws:
IEException