throws LDIFException, LDAPException, IOException {
try {
final LDIFReader reader = new LDIFReader(inputStream);
LDIFChangeRecord changeRecord = reader.readChangeRecord(true);
while (changeRecord != null) {
changeRecord.processChange(connection);
changeRecord = reader.readChangeRecord(true);
}
} finally {
inputStream.close();
}