public static class KeyExtractor.PropertyExtractor extends Object implements KeyExtractor
An implementation of KeyExtractor that extract property (specified through hint parameter) from a java bean (data).
KeyExtractor.PropertyExtractor| Constructor and Description |
|---|
PropertyExtractor() |
public Object keyOf(String hint, Object data)
KeyExtractorGet the key of data.
keyOf in interface KeyExtractorhint - optional, a string value provides hint to extract keydata - the value dataCopyright © 2016–2018 OSGL (Open Source General Library). All rights reserved.