|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldif.AggregateLDIFReaderChangeRecordTranslator
@ThreadSafety(level=COMPLETELY_THREADSAFE) public final class AggregateLDIFReaderChangeRecordTranslator
This class provides an implementation of an LDIF reader change record translator that can be used to invoke multiple LDIF reader change record translators for each record to be processed.
Constructor Summary | |
---|---|
AggregateLDIFReaderChangeRecordTranslator(java.util.Collection<? extends LDIFReaderChangeRecordTranslator> translators)
Creates a new aggregate LDIF reader change record translator that will invoke all of the provided translators for each record to be processed. |
|
AggregateLDIFReaderChangeRecordTranslator(LDIFReaderChangeRecordTranslator... translators)
Creates a new aggregate LDIF reader change record translator that will invoke all of the provided translators for each record to be processed. |
Method Summary | |
---|---|
LDIFChangeRecord |
translate(LDIFChangeRecord original,
long firstLineNumber)
Applies some special transformation or filtering to the original change record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AggregateLDIFReaderChangeRecordTranslator(LDIFReaderChangeRecordTranslator... translators)
translators
- The set of LDIF reader change record translators to be
invoked for each record to be processed.public AggregateLDIFReaderChangeRecordTranslator(java.util.Collection<? extends LDIFReaderChangeRecordTranslator> translators)
translators
- The set of LDIF reader change record translators to be
invoked for each record to be processed.Method Detail |
---|
public LDIFChangeRecord translate(LDIFChangeRecord original, long firstLineNumber) throws LDIFException
translate
in interface LDIFReaderChangeRecordTranslator
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
LDIFException
.
LDIFReader.readChangeRecord()
. This can be the original
parameter change record, a newly constructed change record, or
null
to 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |