Class TextFileCSVImportProgressDialog

java.lang.Object
org.pentaho.di.ui.trans.steps.fileinput.text.TextFileCSVImportProgressDialog
All Implemented Interfaces:
CsvInputAwareImportProgressDialog

public class TextFileCSVImportProgressDialog extends Object implements CsvInputAwareImportProgressDialog
Takes care of displaying a dialog that will handle the wait while we're finding out what tables, views etc we can reach in the database.
Since:
07-apr-2005
Author:
Matt
  • Constructor Summary

    Constructors
    Constructor
    Description
    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(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 Summary

    Modifier and Type
    Method
    Description
     
    open(boolean failOnParseError)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.pentaho.di.ui.trans.step.common.CsvInputAwareImportProgressDialog

    getStringFromRow
  • Constructor Details

    • 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 Details

    • open

      public String open()
    • 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.