public void run()
    {
        Record record = this.getMainRecord();
        String strFileName = this.getProperty("filename");
        String strImport = this.getProperty("import");
        if (strFileName == null)
            strFileName = strImport;
        String strExport = this.getProperty("export");
        if (strFileName == null)
            strFileName = strExport;
        m_bOverwriteDups = false;
        if ((DBConstants.TRUE.equalsIgnoreCase(this.getProperty("overwritedups")))
            || (DBConstants.YES.equalsIgnoreCase(this.getProperty("overwritedups"))))
                m_bOverwriteDups = true;
        boolean bSuccess = false;
        if (strImport != null)
            bSuccess = this.importXML(record.getTable(), strFileName, null);
        else
            bSuccess = this.exportXML(record.getTable(), strFileName);
        if (!bSuccess)
            System.exit(1);
    }
public void run ( ) { Record record = this . getMainRecord ( ) ; String strFileName = this . getProperty ( "filename" ) ; String strImport = this . getProperty ( "import" ) ; if ( strFileName == null ) strFileName = strImport ; String strExport = this . getProperty ( "export" ) ; if ( strFileName == null ) strFileName = strExport ; m_bOverwriteDups = false ; if ( ( DBConstants . TRUE . equalsIgnoreCase ( this . getProperty ( "overwritedups" ) ) ) || ( DBConstants . YES . equalsIgnoreCase ( this . getProperty ( "overwritedups" ) ) ) ) m_bOverwriteDups = true ; boolean bSuccess = false ; if ( strImport != null ) bSuccess = this . importXML ( record . getTable ( ) , strFileName , null ) ; else bSuccess = this . exportXML ( record . getTable ( ) , strFileName ) ; if ( ! bSuccess ) System . exit ( 1 ) ; }
Run this process given the parameters passed in on initialization.