src/main/java/ca/phon/plugins/praat/export/TextGridExporter.java
/**
	 * Save exports to file
	 *
	 * @param exportsFile
	 * @throws IOException
	 */
Save exports to file
@param exportsFile
@throws IOException
Save exports to file @param exportsFile @throws IOException
private void saveExportsToFile(List<TextGridExportEntry> exports, String exportsFile)
		throws IOException {
		final File file = new File(exportsFile);
		final File dir = file.getParentFile();
		if(!dir.exists()) {
			dir.mkdirs();
		}
		final FileOutputStream fout = new FileOutputStream(exportsFile);
		final XMLEncoder xmlEnc = new XMLEncoder(fout);
		xmlEnc.writeObject(exports);
		xmlEnc.flush();
		xmlEnc.close();
	}
private void saveExportsToFile ( List < TextGridExportEntry > exports , String exportsFile ) throws IOException { final File file = new File ( exportsFile ) ; final File dir = file . getParentFile ( ) ; if ( ! dir . exists ( ) ) { dir . mkdirs ( ) ; } final FileOutputStream fout = new FileOutputStream ( exportsFile ) ; final XMLEncoder xmlEnc = new XMLEncoder ( fout ) ; xmlEnc . writeObject ( exports ) ; xmlEnc . flush ( ) ; xmlEnc . close ( ) ; }
Save exports to file
 @param exportsFile
 @throws IOException
Save exports to file @param exportsFile @throws IOException