question: private void createCollectionReader ( Object collectionReaderConfig ) throws BaleenException { String className = CpeBuilderUtils . getClassNameFromConfig ( collectionReaderConfig ) ; Map < String , Object > params = CpeBuilderUtils . getParamsFromConfig ( collectionReaderConfig ) ; if ( className == null || className . isEmpty ( ) ) { throw new BaleenException ( "No class specified for Collection Reader, or unable to parse" ) ; } Optional < CollectionReaderDescription > desc = createCollectionReader ( className , params , READER_DEFAULT_PACKAGE ) ; if ( desc . isPresent ( ) ) { setCollectorReader ( desc . get ( ) ) ; } else { throw new BaleenException ( String . format ( "Could not find or instantiate analysis engine %s" , className ) ) ; } }
target:  Create a CollectionReaderDescription using the current configuration