This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I want to read the data from .ldif file using java. how can i read it. The contents of .ldif file are like:
dn: cn=ravi ravi,email@example.com objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetOrgPerson objectclass: mozillaAbPersonAlpha givenName: ravi sn: ravi cn: ravi ravi mozillaNickname: ravi mail: firstname.lastname@example.org modifytimestamp: 0Z ... In this i want to get the value mail attribue. how can i get that value? Please help.