Interface ItemInputFactory


  • public interface ItemInputFactory
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static <I extends Item>
      com.github.akurilov.commons.io.Input<I>
      createFileItemInput​(ItemFactory<I> itemFactory, java.lang.String itemInputFile)  
      static <I extends Item,​O extends Operation<I>>
      com.github.akurilov.commons.io.Input<I>
      createItemInput​(com.github.akurilov.confuse.Config itemConfig, int batchSize, StorageDriver<I,​O> storageDriver)  
      static <I extends Item,​O extends Operation<I>>
      com.github.akurilov.commons.io.Input<I>
      createPathItemInput​(com.github.akurilov.confuse.Config itemConfig, int batchSize, ItemFactory<I> itemFactory, java.lang.String itemInputPath, StorageDriver<I,​O> storageDriver)  
    • Method Detail

      • createItemInput

        static <I extends Item,​O extends Operation<I>> com.github.akurilov.commons.io.Input<I> createItemInput​(com.github.akurilov.confuse.Config itemConfig,
                                                                                                                     int batchSize,
                                                                                                                     StorageDriver<I,​O> storageDriver)
      • createFileItemInput

        static <I extends Item> com.github.akurilov.commons.io.Input<I> createFileItemInput​(ItemFactory<I> itemFactory,
                                                                                            java.lang.String itemInputFile)
      • createPathItemInput

        static <I extends Item,​O extends Operation<I>> com.github.akurilov.commons.io.Input<I> createPathItemInput​(com.github.akurilov.confuse.Config itemConfig,
                                                                                                                         int batchSize,
                                                                                                                         ItemFactory<I> itemFactory,
                                                                                                                         java.lang.String itemInputPath,
                                                                                                                         StorageDriver<I,​O> storageDriver)