Class CSVExtractor

  • All Implemented Interfaces:
    io.annot8.core.components.Annot8Component, io.annot8.core.components.Processor, io.annot8.core.helpers.WithProcessItem, java.lang.AutoCloseable


    @ProcessesContent(io.annot8.common.data.content.FileContent.class)
    @CreatesContent(io.annot8.common.data.content.TableContent.class)
    public class CSVExtractor
    extends AbstractComponent
    implements io.annot8.core.components.Processor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CSV_TABLE  
    • Constructor Summary

      Constructors 
      Constructor Description
      CSVExtractor​()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(io.annot8.core.context.Context context)  
      io.annot8.core.components.responses.ProcessorResponse process​(io.annot8.core.data.Item item)  
      • Methods inherited from interface io.annot8.core.components.Annot8Component

        buildCapabilities, close
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CSVExtractor

        public CSVExtractor​()
    • Method Detail

      • configure

        public void configure​(io.annot8.core.context.Context context)
                       throws io.annot8.core.exceptions.BadConfigurationException,
                              io.annot8.core.exceptions.MissingResourceException
        Specified by:
        configure in interface io.annot8.core.components.Annot8Component
        Overrides:
        configure in class AbstractComponent
        Throws:
        io.annot8.core.exceptions.BadConfigurationException
        io.annot8.core.exceptions.MissingResourceException
      • process

        public io.annot8.core.components.responses.ProcessorResponse process​(io.annot8.core.data.Item item)
                                                                      throws io.annot8.core.exceptions.Annot8Exception
        Specified by:
        process in interface io.annot8.core.helpers.WithProcessItem
        Throws:
        io.annot8.core.exceptions.Annot8Exception