Class UploadToRowColCsv


  • public class UploadToRowColCsv
    extends java.lang.Object
    Responsible to insert a CSV file available as BLOB column-wise to staging Detects file encoding (ISO-8859-1, UTF-8 and UTF-16), row and cell boundaries, i.e. cell delimiter and quoteChar Does not convert number or date format, does not detect header
    • Constructor Summary

      Constructors 
      Constructor Description
      UploadToRowColCsv​(UploadControl uc, de.businesscode.bcdui.upload.data.steps.IUploadToRowColCallback uploadToRowCol)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process()
      Open the file with the given uploadId, split it into rows and cells and write it to bcd_dataupload_staging
      • Methods inherited from class java.lang.Object

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

      • UploadToRowColCsv

        public UploadToRowColCsv​(UploadControl uc,
                                 de.businesscode.bcdui.upload.data.steps.IUploadToRowColCallback uploadToRowCol)
        Constructor
        Parameters:
        uc -
        uploadToRowCol -
    • Method Detail

      • process

        public void process()
                     throws java.lang.Exception
        Open the file with the given uploadId, split it into rows and cells and write it to bcd_dataupload_staging
        Throws:
        java.lang.Exception