@Override public String[] extractCommands(Reader reader) { ImportSqlCommandExtractor sqlCommandExtractor = singleLinesSqlCommandExtractor; if(fileNum == 0) { sqlCommandExtractor = multipleLinesSqlCommandExtractor; } fileNum++; return sqlCommandExtractor.extractCommands(reader); }