public Consumer < List < C > > asParsedDataConsumer ( ) { return new Consumer < List < C > > ( ) { @ Override public void accept ( List < C > cs ) throws Exception { setData ( cs ) ; } } ; }
Make engine as a consumer to accept parsed data from user