directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r406764 - /directory/branches/elecharny/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
Date Mon, 15 May 2006 23:00:46 GMT
Author: elecharny
Date: Mon May 15 16:00:46 2006
New Revision: 406764

URL: http://svn.apache.org/viewcvs?rev=406764&view=rev
Log:
Added a method to know if the ldif file contains only entries or only changes

Modified:
    directory/branches/elecharny/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java

Modified: directory/branches/elecharny/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
URL: http://svn.apache.org/viewcvs/directory/branches/elecharny/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java?rev=406764&r1=406763&r2=406764&view=diff
==============================================================================
--- directory/branches/elecharny/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
(original)
+++ directory/branches/elecharny/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
Mon May 15 16:00:46 2006
@@ -1610,4 +1610,12 @@
 
 		return entries;
 	}
+
+	/**
+	 * @return True if the ldif file contains entries, fals if it contains changes
+	 */
+	public boolean containsEntries() 
+	{
+		return containsEntries;
+	}
 }



Mime
View raw message