public class AppendListEntityConsumer<T> extends Object implements IEntityConsumer<T>
Constructor and Description |
---|
AppendListEntityConsumer(List<T> list) |
Modifier and Type | Method and Description |
---|---|
void |
consumeEntity(T entity)
Process the next entity received as part of a result set.
|
List<T> |
getList() |
public void consumeEntity(T entity) throws Exception
IEntityConsumer
consumeEntity
in interface IEntityConsumer<T>
entity
- The entity to consume.Exception
- An exception like an IOException,
which might occur, when the entity is processed.Copyright © 2017 Clazzes.org. All rights reserved.