net.sourceforge.squirrel_sql.plugins.oracle.sqlloader.model
Class ControlFileGenerator
java.lang.Object
net.sourceforge.squirrel_sql.plugins.oracle.sqlloader.model.ControlFileGenerator
public class ControlFileGenerator
- extends Object
Class for writing SQL*Loader control files from table information.
- Author:
- Jos� David Moreno Ju�rez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControlFileGenerator
public ControlFileGenerator()
writeControlFile
public static void writeControlFile(String table,
String[] columns,
boolean append,
String fieldSeparator,
String stringDelimitator,
String directory)
throws IOException
- Writes a SQL*Loader control file using the specified settings.
- Parameters:
table - table namecolumns - column namesappend - whether to append or replacefieldSeparator - field separator used in the data filestringDelimitator - string delimitator used in the data filedirectory - directory to store the control file
- Throws:
IOException - thrown when an error occurs while writing the
control file
Copyright © 2001-2010. All Rights Reserved.