@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface LDIFReaderChangeRecordTranslator
|Modifier and Type||Method and Description|
Applies some special transformation or filtering to the original change record.
@Nullable LDIFChangeRecord translate(@NotNull LDIFChangeRecord original, long firstLineNumber) throws LDIFException
original- The original change record that was read and parsed from the input file.
firstLineNumber- The first line number of the LDIF change record. This is most useful when throwing an
LDIFReader.readChangeRecord(). This can be the original parameter change record, a newly constructed change record, or
nullto signal that the provided change record should be skipped.
LDIFException- If there is an exception during processing. This exception will be re-thrown to the caller of readChangeRecord.