Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.knowgate.hipergate.datamodel
Class ImportExport

    java.lang.Object
      com.knowgate.hipergate.datamodel.ImportExport

    public class ImportExport

extends java.lang.Object

Constructor Summary
`ImportExport()`

Method Summary
`int` | `perform(java.lang.String sControlCmdLine)` Perform an import or export command

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ImportExport

    public ImportExport()

Method Detail

### perform

    public int perform(java.lang.String sControlCmdLine)
                throws ImportExportException

  Perform an import or export command

  Parameters:
    `sControlCmdLine` - String [APPEND|UPDATE|APPENDUPDATE] [CONTACTS|COMPANIES|PRODUCTS|USERS|FELLOWS|DESPATCHS|VCARDS|table_name] CONNECT user TO connection_string IDENTIFED BY password INPUTFILE "/tmp/filename.txt" BADFILE "/tmp/badfile.txt" DISCARDFILE "/tmp/discardfile.txt" CHARSET ISO8859_1 ROWDELIM CRLF COLDELIM "|" ([column type]+)
    EXPORT table_name CONNECT user TO connection_string IDENTIFIED BY password OUTPUTFILE "/tmp/filename.txt"
  Returns:
    Count of errors found or zero if operation was successfully completed
  Throws:
    `ImportExportException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD