protected void writeHeader()
		throws ConfigurationException, IOException
	{

		if (writer != null) {
			writer.close();
		}

		this.fileCounter++;
		String filePath = PATH_OUTPUT_DATA_FILES + this.outputName + "_"
				+ fileCounter+".csv";

		this.dataFile = new File(filePath);

		this.writer = new BufferedWriter(new OutputStreamWriter(new BufferedOutputStream(
		        new FileOutputStream(filePath)), WIKIPEDIA_ENCODING));


		this.writer.flush();
	}
protected void writeHeader ( ) throws ConfigurationException , IOException { if ( writer != null ) { writer . close ( ) ; } this . fileCounter ++ ; String filePath = PATH_OUTPUT_DATA_FILES + this . outputName + "_" + fileCounter + ".csv" ; this . dataFile = new File ( filePath ) ; this . writer = new BufferedWriter ( new OutputStreamWriter ( new BufferedOutputStream ( new FileOutputStream ( filePath ) ) , WIKIPEDIA_ENCODING ) ) ; this . writer . flush ( ) ; }
Creates a new output file and writes the header information.

@throws ConfigurationException
if an error occurred while accessing the configuration
@throws IOException
if an error occurred while writing a file