public class PriorityQueueDecoratorReader extends Object implements Reader
Reader that wraps a prioritized list of other Readers.
Each Reader in the list has a priority that is used to resolve conflicts
when a key is defined more than once.
If two or more Readers have the same priority, the one added by last has the highest priority| Constructor and Description |
|---|
PriorityQueueDecoratorReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Reader reader,
int priority) |
Map<String,PropertyValue> |
read() |
Copyright © 2019. All rights reserved.