@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface LDIFReaderEntryTranslator
Modifier and Type | Method and Description |
---|---|
Entry |
translate(Entry original,
long firstLineNumber)
Applies some special transformation or filtering to the original Entry.
|
Entry translate(Entry original, long firstLineNumber) throws LDIFException
original
- The original Entry that was read and parsed from the
input file.firstLineNumber
- The first line number of the LDIF record
corresponding to the read Entry. This is most
useful when throwing an LDIFException.null
to signal that this Entry should be skipped.LDIFException
- If there is an exception during processing. This
Exception will be re-thrown to the caller of
readEntry.