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