net.sourceforge.squirrel_sql.plugins.dataimport.action
Class ImportTableDataCommand

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.dataimport.action.ImportTableDataCommand
All Implemented Interfaces:
ICommand

public class ImportTableDataCommand
extends Object
implements ICommand

This command shows the necessary dialogs to import a file.

Author:
Thorsten Mürell

Constructor Summary
ImportTableDataCommand(ISession session, ITableInfo table)
          The constructor.
 
Method Summary
 void execute()
          This is the command action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportTableDataCommand

public ImportTableDataCommand(ISession session,
                              ITableInfo table)
The constructor.

Parameters:
session - The session to work in
table - The table to import the data
Method Detail

execute

public void execute()
This is the command action. It shows a file open dialog and then the specific import options for the file importer. Then the column mapping dialog is shown.

Specified by:
execute in interface ICommand


Copyright © 2001-2011. All Rights Reserved.