public static void writeInstances ( File targetFile , Collection < Instance > rootInstances ) throws IOException { FileDefinition def = new FromInstances ( ) . buildFileDefinition ( rootInstances , targetFile , false , true ) ; ParsingModelIo . saveRelationsFile ( def , false , "\n" ) ; }
Writes all the instances into a file .