/** * Parse a ldif file (using the default encoding). * * @param fileName * The ldif file * @return A list of entries * @throws LdapLdifException * If the parsing fails */ public List<LdifEntry> parseLdifFile( String fileName ) throws LdapLdifException { return parseLdifFile( fileName, Charset.forName( StringTools.getDefaultCharsetName() ).toString() ); }