Пример #1
0
 @Override
 public void exportData(boolean exportWithRaw) throws Exception {
   // for site no RAW tables export needed
   writeHeader();
   if (exportState.isTerminated()) return;
   exportTable("TeamLevelDismiss");
   if (exportState.isTerminated()) return;
   exportTable("TeamLevelPoints");
   if (exportState.isTerminated()) return;
   writeFooter();
 }
Пример #2
0
 private void exportTable(String tableName) throws Exception {
   MetaTable table = MetaTablesRegistry.getInstance().getTableByName(tableName);
   table.setExportWhereAppendix("");
   dataExtractor.setCurrentTable(table);
   if (dataExtractor.hasRecordsToExport()) {
     if (exportState.isTerminated()) return;
     writer.write("---" + tableName);
     writer.newLine();
     dataExtractor.exportNewRecords(exportState);
   }
 }