org.pentaho.di.ui.trans.steps.textfileinput
Class TextFileInputDialog

java.lang.Object
  extended by Dialog
      extended by org.pentaho.di.ui.trans.step.BaseStepDialog
          extended by org.pentaho.di.ui.trans.steps.textfileinput.TextFileInputDialog
All Implemented Interfaces:
StepDialogInterface

public class TextFileInputDialog
extends BaseStepDialog
implements StepDialogInterface


Field Summary
static int[] dateLengths
           
 
Fields inherited from class org.pentaho.di.ui.trans.step.BaseStepDialog
loggingObject
 
Constructor Summary
TextFileInputDialog(Shell parent, Object in, TransMeta transMeta, String sname)
           
 
Method Summary
 void getData(TextFileInputMeta meta)
          Read the data from the TextFileInputMeta object and show it in this dialog.
static int guessIntLength(double d)
           
static int guessLength(double d)
           
static int guessPrecision(double d)
           
 String open()
          Opens a step dialog window.
 void setFlags()
           
 
Methods inherited from class org.pentaho.di.ui.trans.step.BaseStepDialog
addConnectionLine, addConnectionLine, addConnectionLine, addConnectionLine, addDatabases, addDatabases, dispose, generateFieldMapping, getFieldsFromPrevious, getFieldsFromPrevious, getFieldsFromPrevious, getModifyListenerTooltipText, getRepository, isBasic, isDebug, isDetailed, isRowLevel, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, positionBottomButtons, selectDatabase, setMinimalShellHeight, setRepository, setShellImage, setSize, setSize, setSize, setTraverseOrder, storeScreenSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.di.trans.step.StepDialogInterface
setRepository
 

Field Detail

dateLengths

public static final int[] dateLengths
Constructor Detail

TextFileInputDialog

public TextFileInputDialog(Shell parent,
                           Object in,
                           TransMeta transMeta,
                           String sname)
Method Detail

open

public String open()
Description copied from interface: StepDialogInterface
Opens a step dialog window.

Specified by:
open in interface StepDialogInterface
Returns:
the (potentially new) name of the step

setFlags

public void setFlags()

getData

public void getData(TextFileInputMeta meta)
Read the data from the TextFileInputMeta object and show it in this dialog.

Parameters:
meta - The TextFileInputMeta object to obtain the data from.

guessPrecision

public static final int guessPrecision(double d)

guessIntLength

public static final int guessIntLength(double d)

guessLength

public static final int guessLength(double d)