public class BeanRecordFieldExtractor extends Object implements RecordFieldExtractor
Introspector to extract properties values from records of a specified class.| Constructor and Description |
|---|
BeanRecordFieldExtractor(Class type,
String... fields) |
public BeanRecordFieldExtractor(Class type, String... fields) throws IntrospectionException
IntrospectionExceptionpublic Iterable<Object> extractFields(Object record) throws RecordFieldExtractionException
RecordFieldExtractorextractFields in interface RecordFieldExtractorrecord - the recordRecordFieldExtractionExceptionprotected Object getValue(String field, Object object) throws InvocationTargetException, IllegalAccessException
Copyright © 2015. All Rights Reserved.