Class TextFileCSVImportProgressDialog

    • Constructor Detail

      • TextFileCSVImportProgressDialog

        @Deprecated
        public TextFileCSVImportProgressDialog​(org.eclipse.swt.widgets.Shell shell,
                                               org.pentaho.di.trans.steps.fileinput.text.TextFileInputMeta meta,
                                               org.pentaho.di.trans.TransMeta transMeta,
                                               InputStreamReader reader,
                                               int samples,
                                               boolean replaceMeta)
        Deprecated.
        construct with BufferedInputStreamReader
      • TextFileCSVImportProgressDialog

        public TextFileCSVImportProgressDialog​(org.eclipse.swt.widgets.Shell shell,
                                               org.pentaho.di.trans.steps.fileinput.text.TextFileInputMeta meta,
                                               org.pentaho.di.trans.TransMeta transMeta,
                                               org.pentaho.di.trans.steps.fileinput.text.BufferedInputStreamReader reader,
                                               int samples,
                                               boolean replaceMeta)
        Creates a new dialog that will handle the wait while we're finding out what tables, views etc we can reach in the database.
    • Method Detail

      • open

        public String open​(boolean failOnParseError)
        Specified by:
        open in interface CsvInputAwareImportProgressDialog
        Parameters:
        failOnParseError - if set to true, parsing failure on any line will cause parsing to be terminated; when set to false, parsing failure on a given line will not prevent remaining lines from being parsed - this allows us to analyze fields, even if some field is mis-configured and causes a parsing error for the values of that field.