/** * Gets the next LDIF on the channel. * * @return the next LDIF as a String. */ public LdifEntry next() { return nextInternal(); }
/** * Convert an Entry to LDIF * * @param entry the Entry to convert * @return the corresponding LDIF code as a String */ public static String convertToLdif( Entry entry ) { return convertToLdif( entry, DEFAULT_LINE_LENGTH ); }
/** * Always throws UnsupportedOperationException! * * @see java.util.Iterator#remove() */ public void remove() { removeInternal(); }
/** * Convert all the Entry's attributes to LDIF. The Dn is not written * * @param entry the Entry to convert * @return the corresponding LDIF code as a String */ public static String convertAttributesToLdif( Entry entry ) { return convertAttributesToLdif( entry, DEFAULT_LINE_LENGTH ); }
/** * Store the reader and initialize the LdifReader * * @param reader The reader to use * @throws LdapException If the initialization failed */ private void initReader( BufferedReader reader ) throws LdapException { this.reader = reader; init(); }
/** * Convert an LdifEntry to LDIF * * @param entry the LdifEntry to convert * @return the corresponding LDIF as a String * @throws LdapException If a naming exception is encountered. */ public static String convertToLdif( LdifEntry entry ) throws LdapException { return convertToLdif( entry, DEFAULT_LINE_LENGTH ); }
/** * Convert all the Entry's attributes to LDIF. The Dn is not written * * @param entry the Entry to convert * @return the corresponding LDIF code as a String */ public static String convertAttributesToLdif( Entry entry ) { return convertAttributesToLdif( entry, DEFAULT_LINE_LENGTH ); }
/** * Store the reader and initialize the LdifReader * * @param reader The reader to use * @throws LdapException If the initialization failed */ private void initReader( BufferedReader reader ) throws LdapException { this.reader = reader; init(); }
/** * Always throws UnsupportedOperationException! * * @see java.util.Iterator#remove() */ public void remove() { removeInternal(); }
/** * Gets the next LDIF on the channel. * * @return the next LDIF as a String. */ public LdifEntry next() { return nextInternal(); }
/** * Convert an Entry to LDIF * * @param entry the Entry to convert * @return the corresponding LDIF code as a String */ public static String convertToLdif( Entry entry ) { return convertToLdif( entry, DEFAULT_LINE_LENGTH ); }
/** * Convert all the Entry's attributes to LDIF. The Dn is not written * * @param entry the Entry to convert * @return the corresponding LDIF code as a String */ public static String convertAttributesToLdif( Entry entry ) { return convertAttributesToLdif( entry, DEFAULT_LINE_LENGTH ); }
/** * Store the reader and initialize the LdifReader * * @param reader The reader to use * @throws LdapException If the initialization failed */ private void initReader( BufferedReader reader ) throws LdapException { this.reader = reader; init(); }
/** * Always throws UnsupportedOperationException! * * @see java.util.Iterator#remove() */ public void remove() { removeInternal(); }
/** * Convert an LdifEntry to LDIF * * @param entry the LdifEntry to convert * @return the corresponding LDIF as a String * @throws LdapException If a naming exception is encountered. */ public static String convertToLdif( LdifEntry entry ) throws LdapException { return convertToLdif( entry, DEFAULT_LINE_LENGTH ); }
/** * Converts an EntryAttribute to LDIF * * @param attr the EntryAttribute to convert * @return the corresponding LDIF code as a String */ public static String convertToLdif( Attribute attr ) { return convertToLdif( attr, DEFAULT_LINE_LENGTH ); }
/** * Convert an Entry to LDIF * * @param entry the Entry to convert * @return the corresponding LDIF code as a String */ public static String convertToLdif( Entry entry ) { return convertToLdif( entry, DEFAULT_LINE_LENGTH ); }
/** * Convert an LdifEntry to LDIF * * @param entry the LdifEntry to convert * @return the corresponding LDIF as a String * @throws LdapException If a naming exception is encountered. */ public static String convertToLdif( LdifEntry entry ) throws LdapException { return convertToLdif( entry, DEFAULT_LINE_LENGTH ); }
/** * Converts an EntryAttribute to LDIF * * @param attr the EntryAttribute to convert * @return the corresponding LDIF code as a String */ public static String convertToLdif( Attribute attr ) { return convertToLdif( attr, DEFAULT_LINE_LENGTH ); }
/** * Converts an EntryAttribute to LDIF * * @param attr the EntryAttribute to convert * @return the corresponding LDIF code as a String */ public static String convertToLdif( Attribute attr ) { return convertToLdif( attr, DEFAULT_LINE_LENGTH ); }