net.sourceforge.squirrel_sql.plugins.oracle.sqlloader.control
Class GenerateControlFileActionListener

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.oracle.sqlloader.control.GenerateControlFileActionListener
All Implemented Interfaces:
ActionListener, EventListener

public class GenerateControlFileActionListener
extends Object
implements ActionListener

ActionListener for the Generate button.

It calls the control file generating class.

Author:
Jos� David Moreno Ju�rez

Constructor Summary
GenerateControlFileActionListener(JTextField stringDelimitatorTextfield, JTextField fieldSeparatorTextfield, JRadioButton appendRadioButton, JTextField controlFileTextfield, ISession session)
          Creates a new instance of the GenerateControlFileActionListener class.
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateControlFileActionListener

public GenerateControlFileActionListener(JTextField stringDelimitatorTextfield,
                                         JTextField fieldSeparatorTextfield,
                                         JRadioButton appendRadioButton,
                                         JTextField controlFileTextfield,
                                         ISession session)
Creates a new instance of the GenerateControlFileActionListener class.

It receives the session and the UI components needed to get the settings for the control file generation.

Parameters:
stringDelimitatorTextfield - text box with the string delimitator
fieldSeparatorTextfield - text box with the field separator
appendRadioButton - radio button for the append setting
controlFileTextfield - text box with the directory name
session - database session
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener


Copyright © 2001-2013. All Rights Reserved.