Class FileBlobMessageProducerFactory

java.lang.Object
org.nuxeo.importer.stream.producer.FileBlobMessageProducerFactory
All Implemented Interfaces:
ProducerFactory<BlobMessage>

public class FileBlobMessageProducerFactory extends Object implements ProducerFactory<BlobMessage>
Since:
9.1
  • Field Details

    • listFile

      protected final File listFile
    • basePath

      protected final String basePath
    • nbBlobs

      protected final long nbBlobs
  • Constructor Details

    • FileBlobMessageProducerFactory

      public FileBlobMessageProducerFactory(File listFile, String basePath, long nbBlobs)
      Produce messages to import files listed in the listFile. the basePath is added as a prefix to all file path in the listFile if nbBlobs = 0 the entire listFile is imported
  • Method Details